A fix is available
APAR status
Closed as program error.
Error description
When the exported module contains two objects with the same Element Guid and Element Type values, the export to DOORS fails on the line highlighted. void deleteObject(Object anObject) { LinkRef lr for lr in anObject <- "*" do { logError("Failure: DOORS Object " identifier(anObject) " '" anObject."Object Heading" "' has in-links, so it can not be deleted. Remove the in-links from DOORS in order to allow Object deletion") return } softDelete(anObject) } The reason is that it gets confused with the two objects and it tries to delete the first object twice. Here is a piece of customer script that contains the duplicate deletion: find(objectsForInts, 504015072, objCurrent) if (!null objCurrent) { deleteObject(objCurrent) } else logError("Failure: Can't delete object 'GUID bbd623c0-a98b-41e1-a957-d420431933f7'") find(objectsForInts, 504021088, objCurrent) if (!null objCurrent) { deleteObject(objCurrent) } else logError("Failure: Can't delete object 'GUID bbd623c0-a98b-41e1-a957-d420431933f7'") The problem is that softDelete error is not caught , so there is no clear error message that comes up.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody * **************************************************************** * PROBLEM DESCRIPTION: * * CAPTURE ERROR MESSAGE WHILE FOUND DUPLICATE ELEMENTS IN * * DOORS WHILE EXPORT. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Improved error handling for deleteObject function. Since the error was actually not happening with recent version but the behavior was not correct since it tries to delete both duplicated objects instead of removing just one of them. Now it shows a warning message in case there are duplicate GUIDs in source document or exported DOORS module.
Temporary fix
Comments
APAR Information
APAR number
PI87845
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-09-25
Closed date
2017-12-04
Last modified date
2017-12-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R761 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
18 October 2021