This technote explains how to resolve an error, "The name is not a valid entitydef". This can occur when exporting an IBM Rational ClearQuest schema.
Trying to export a schema using the cqload exportschema command results in this error:
The name "16777230" is not a valid entitydef
The error could reference any number. That is the DBID value of the problem element.
The schema has a record type that was deleted. However, the database still contains artifacts from the record type.
Resolving the problem
- Create a new schema based of the schema that you are trying to export. Export that new schema. Be aware that you will not have the older schema revisions, and you will need to use a different schema name.
- An additional resolution exists, but requires the guidance of a ClearQuest Support engineer. Contact IBM Rational Support for more information.
Always make new database back-ups of your schema repository and user databases prior to making schema changes and performing database upgrades. Failure to create back-up copies can limit your ability to recover from a an upgrade failure, design change issues or other unforeseen failures.