PM42965: After deleting copied classes with their association on a diagra m, multiplicity values in the original relationship are lost

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Rose, if you copy two classes with their
    association from one class diagram to another class diagram and
    then delete these elements in the second class diagram, the
    relationship's multiplicity values will disappear from the first
    class diagram.
    
    The following steps reproduce the problem:
    
    1. Create two classes
    2. Add a new class diagram to the model
    3. Drag the two classes onto the 'Main' class diagram
    4. Draw an association between the two classes
    5. Double click the association and select '1' from the Role A
    Detail ? Multiplicity drop down box
    6. Click the Role B Detail tab, select 'n' from the Multiplicity
    drop down box, and click OK
    Result: The 'n' and '1' appear on the relationship in the 'Main'
    class diagram, as expected
    7. Multi-select all the diagram elements on the Main diagram and
    press CTRL + C
    8. Open the new class diagram and press CTRL + V to paste the
    selected elements
    9. Multi-select all the diagram elements in the new class
    diagram and press the 'Delete' key (You can also right click the
    multi-selected elements and select Edit ? Delete from the
    context menu)
    10. Open the Main class diagram
    
    Expected Result: There is no change in the diagram or in any of
    its elements.
    
    Actual Result: The association's multiplicity values have been
    deleted.
    
    There is no workaround to this problem.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    While copying two classes with their association, the
    multiplicity values gets reset
    

Problem conclusion

  • Code has been modified to retain the multiplicity
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42965

  • Reported component name

    ROSE ENTERPRISE

  • Reported component ID

    5724G5002

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-04

  • Closed date

    2012-07-20

  • Last modified date

    2012-07-20

  • 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

    ROSE ENTERPRISE

  • Fixed component ID

    5724G5002

Applicable component levels

  • R700 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Rose Enterprise

Software version:

7.0

Reference #:

PM42965

Modified date:

2012-07-20

Translate my page

Machine Translation

Content navigation