IBM Support

PI45249: IF SUPERCLASS HAS SELF ASSOCIATION, CANNOT CREATE LINK BETWEEN SUBCLASSES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect (RSA), if two classes have
    the same parent type and this parent type has an association to
    another class as well as an association to itself, it will not
    be possible to create a link between their class instances on an
    object diagram.
    
    Steps to reproduce:
    
    1. Create a UML project and model
    
    2. Add four classes, A, B, C, D, onto a class diagram
    
    3. Draw an association from B to A
    
    4. Draw an association from A to itself
    
    5. Draw a generalization from C to A and D to A
    
    6. Add an object diagram
    
    7. Add class instances for B, C, and D onto the object diagram
    
    8. Draw a link from the C class instance to B class instance
    
    RESULT: The link is drawn, as expected
    
    9. Draw a link from the C class instance to D class instance
    
    Expected Result: The link is drawn between the two class
    instances.
    
    Actual Result: No link is drawn between the C and D class
    instances.  If you attempt to "Search" or "Browse", the list
    from which to select is empty.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a superclass has a self-association, then in an object    *
    * diagram, link can not be created between two of its          *
    * sub-class instances                                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue is that self associations of base class are not
    considered as valid associations when a link between sub class
    instances is attempted. This has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI45249

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-20

  • Closed date

    2015-09-18

  • Last modified date

    2015-09-18

  • 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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R911 PSY

       UP

  • R912 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"911","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021