IBM Support

PI79085: PROBLEM WHILE CONVERTING THE FLOWPORT TO PROXYPORT WITH CHANGETO() API.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps:
    - Add a block to the block diagram
    - Add  a flowport to the block.
    - Change the flowport to proxyport through java api.
      IRPApplication myApp =
    RhapsodyAppServer.getActiveRhapsodyApplication();
    		IRPGraphElement grp = (IRPGraphElement)
    myApp.getSelectedGraphElements().getItem(1);
    		IRPModelElement ele = grp.getModelObject();
    		System.out.println(ele.getMetaClass());
    		ele.removeStereotype(ele.getStereotype());
    		IRPModelElement chnport = ele.changeTo("Port");
    		System.out.println(chnport.getMetaClass());
    		System.out.println("End");
    
    - Apply the proxyport stereotype to the changed port.
    - Apply interface type to the changed port (Which has
    flowproperties with out direction)
    
    -Check in the diagram that the port visually still remains as
    flow port .
    So , if you remove the port from the diagram and add it again
    with port->show all port then the visualization is changed to
    proxyport.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * PROBLEM WHILE CONVERTING THE FLOWPORT TO PROXYPORT WITH      *
    * CHANGETO() API.                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed by showing the right icon of the port.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI79085

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    815

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-30

  • Closed date

    2017-06-12

  • Last modified date

    2017-06-12

  • 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

  • R815 PSN

       UP

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

Document Information

Modified date:
12 June 2017