IBM Support

PM05178: Component decorations lost after project rename

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description:
    ------------
    When renaming a project using refarctor?rename in the modelling
    perspective the class decorations are removed from diagrams.
    
    Steps to reproduce:
    -------------------
    Create a Java Project, 'test-project'
    Create a Java package, com.ibm.rational.support
    Create 2 Java Classes, Class1 and Class1, in the package
    Create a UML model in the project called 'model'
    Create a Component Diagram
    Drag the Package onto the diagram
    Drag the 2 classes onto the diagram
    Save the project.
    Right click on the project and select Refactor?Rename
    Change the name to 'test-project-a'
    
    Result:
    -------
    The decorators on the classes in the diagram are removed.
    
    Workaround:
    -----------
    Switch to the Java perspective and perform the rename then switc
    h back to the modelling perspective.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When renaming a project using refactor?rename in the
    modeling perspective, the class decorations are removed from
    diagrams.
    

Problem conclusion

  • Visualized java references are now updated when a containing
    Java project is Refactor-?Renamed (and hence the decorations
    are retained on the diagram)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05178

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-14

  • Closed date

    2010-08-20

  • Last modified date

    2010-08-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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R754 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"754","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"754","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
20 August 2010