IBM Support

Running force roundtrip to a class which souces are not changed results in updated Unit file

Troubleshooting


Problem

Attempts to run a force roundtrip to a class element which includes a constractor or destractor in IBM Rational Rhapsody results in the unit file being updated even if the source code is not changed.

Symptom

    Steps to reproduce:
    1. Create a class class_01 includes constructor or destructor
    2. Do code generation on class_01
    3. Backup its unit file (<PackageName>.sbs)
    4. Do force roundtrip on class class_01
    5. Notice that 0 Change(s) is in output window, but a red icon what means change happened is added onto its package icon
    6. Compare the current unit file (<PackageName>.sbs) with the backuped one in step 3

      If a class doesn't include neither constructor nor destructor, there is no change happened on class's both model and unit file after force roundtrip,


    Expected result: No difference exists.


    Actual result:
    • In Rhapsody 7.6: lots of lastModifiedTime, weakCGTime, GUID items are updated.
    • In Rhapsody 8: 2 weakCGTime items are updated.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;7.6.1.3;8.0;8.0.1;8.0.2;8.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 May 2022

UID

swg21647132