IBM Support

ClearQuest Defect record RecordID is linked to a UCM object that can not be found

Troubleshooting


Problem

This technote identifies how to remove IBM® Rational® ClearQuest® references to defect ID's and the once ClearQuest-enabled IBM Rational ClearCase® UCM project.

Cause

The full error message is as follows:

Execution of a hook failed during the action delete. It was the ACTION_COMMIT hook attached to the defect "yyyyyyyy".
The reason for the failure was:
Unable to find replica in registry for VOB with object
ID: "dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d"

Unable to locate versioned object basewith object id:
"dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d"

Could not perform requested operation: a UCM/Clearquest data
inconsistency may exist:
Clearquest "Defect" record "<record ID>" is linked to a UCM object that
can not be found.

This error occurs because the UCM project VOB and associated activities have been removed, ClearQuest is still looking for this information and needs this information to remove the defect.

This issue is the result the ClearCase items being removed before the ClearQuest defects and project.

Resolving The Problem

To resolve this issue perform the following to fix the Activity so it can be deleted:

  1. Browse to the ClearCase utils directory:

    c:\program files\rational\clearcase\etc\utils
  2. Run the following command from a command prompt:
    Note: This command cannot be performed in the GUI

    squid_patch <DBNAME> -activity <RECORD_ID> ucm_vob_object ""

    Note: It will display an advisory message, but it will change the field in ClearQuest.
  3. Delete the ClearQuest record.
  4. Remove the UCM project with the following command:

    squid_patch <DBNAME> -project <PROJECT NAME> ucm_vob_object ""

[{"Product":{"code":"SSSTXH","label":"Rational Integrations"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM ClearCase and ClearQuest","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2002.05.00;2002.05.20;2003.06.00;2003.06.01;2003.06.10;2003.06.12","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 September 2018

UID

swg21180957