IBM Support

PI50186: API IGNORES MULTIPLE SYSTEM BORDERS IN SEQUENCE DIAGRAMS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DESCRIPTION:
    
    Adding multiple system borders to a sequence diagram and then
    trying to add messages from those system borders to other
    instance lines results in only one system border (the first that
    was added) to be used. This only applies to the API.
    
    Below example, only first system border is used:
    
    		IRPApplication app =
    RhapsodyAppServer.getActiveRhapsodyApplication();
    		IRPPackage pkg = (IRPPackage)app.getSelectedElement();
    		IRPClass class1 = pkg.addClass("TestClass");
    
    		IRPCollaboration oCollaboration =
    app.activeProject().getNewCollaboration();
    
    		IRPClassifierRole oRole1 = oCollaboration.addSystemBorder();
    		oRole1.setName("ENV1");
    
    		IRPClassifierRole oRole2 = oCollaboration.addSystemBorder();
    		oRole2.setName("ENV2");
    
    		IRPClassifierRole oRole3 =
    oCollaboration.addClassifierRole("TestClass", class1);
    
    		IRPMessage oMessage = oCollaboration.addMessage(null, "",
    oRole1, oRole2);
    		IRPMessage oMessage2 = oCollaboration.addMessage(null, "",
    oRole2, oRole1);
    		IRPMessage oMessage3 = oCollaboration.addMessage(null, "",
    oRole2, oRole2);
    		IRPMessage oMessage4 = oCollaboration.addMessage(null, "",
    oRole1, oRole3);
    		IRPMessage oMessage5 = oCollaboration.addMessage(null, "",
    oRole2, oRole3);
    
    		IRPSequenceDiagram SD =
    oCollaboration.generateSequence("MySD", pkg);
    
    WORKAROUND:
    
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.1                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * API IGNORES MULTIPLE SYSTEM BORDERS IN SEQUENCE DIAGRAMS     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.5.
    Fixed by fixing the API for adding messages in sequence diagrams
    with more than one system border.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50186

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-08

  • Closed date

    2016-04-25

  • Last modified date

    2016-04-25

  • 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

  • R811 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 April 2016