IBM Support

PM76484: Mutlipe duplicate ids contained in a model are not found by the Element Identity Constraint

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    ? ? - Microsoft Windows / Linux
    ? ? - IBM Rational Software Modeler 7.5.5.3
    ? ? - IBM Rational Software Architect 8.x
    
    Reproducible Y/N: Y
    
    Description of problem:
    The validation rule called 'Element Identity Constraint' under:
    Window-?Preferences-?Model Validation-?Constraint-?Referential
    Integrity
    and with the following definition:
    --
    Constraint ID: org.eclipse.gmf.runtime.emf.core.UUIDConstraint.
    This constraint has error severity and executes in batch
    (on-demand) mode.
    Description:
    This constraint validates each element's identity is unique and
    referenceable.
    This constraint is mandatory.
    ----
    does only find duplicate ids located in the same resource (
    Model:.emx or fragment:.efx)
    If the ids are duplicated across multiple resources (model and
    fragments), they will not be found
    and cannot be fixed.
    
    
    Steps to reproduce:
    Run the validation on a model which contains multiple duplicate
    ids scattered between the model and its fragment
    (i.e extra fragments).
    Actual result: No validation error will be found.
    Expected result: The constraint should run the validation on the
    overall model scope and allow the quick fix
    on all the elements which have the same unique id.
    
    Workaround
    None.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Mutlipe duplicate ids contained in a model across fragments
    are not found by the Element Identity Constraint.
    

Problem conclusion

  • Added a constraint which will report duplicate GUIDs in the
    fragments.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM76484

  • Reported component name

    SW MODELER WIN

  • Reported component ID

    5724I6901

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-05

  • Closed date

    2013-06-14

  • Last modified date

    2013-06-14

  • 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

    SW MODELER WIN

  • Fixed component ID

    5724I6901

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCLKU","label":"Rational Software Modeler"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021