Troubleshooting
Problem
There is a problem with not being able to upgrade a user database after renaming a record types that has had packages applied to it using IBM Rational ClearQuest.
Symptom
When upgrading a ClearQuest database, the user is presented with the error:
There is reference to an Object that doesn't exist
Object Type: Entity
Object: Defect
The error was detected at ClearQuest Core:admetadatamgr.cpp:1135"
Resolving The Problem
This package upgrade issue was addressed as a defect in APAR PQ88070, and resolved in the 7.0.0 release. If you have changed the name of an record type (entity) that is referenced by a package query, ClearQuest 7.x will attempt to locate that entity by its name in the back-end. This second look-up will work for all entity types that are shipped as part of ClearQuest out-of-the-box schemas.
For more information on Naming Restrictions in ClearQuest 7.x, search on "Naming Restrictions" in the Rational ClearQuest Knowledge Center.
For ClearQuest versions prior to 7.x:
Renaming Record Types, breaks links to applied packages, as documented in the release notes. The work around is to check out the schema, revert to the original entity name, check in the schema, and upgrade the user database.
The ClearQuest 2003.06.13 release notes (GI11-4670-03) describe the restrictions on renaming a record type in Chapter 2. The following information can be found under restrictions and guidelines for using Rational ClearQuest:
- Create SAMPL database using the Defect Tracking schema.
- Check out the schema.
- Rename the record type Defect to DefectA.
- Check in the new schema.
- Upgrade the user database.
Renaming record types
No entity to which a package has been previously applied should be renamed. Otherwise, attempts to upgrade the schema to a higher version of the package or to upgrade a user database will fail.
For example, the upgrade fails with a returned error message if you do the following:
The work around is to check out the schema, revert to the original entity name, check in the schema, and upgrade the user database.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21202987