IBM Support

PI40226: Refactor -? Rename doesn't work for New Term elements like Test Conductor elements

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Take a simple model with e.g. only one class and create a
    TestArchitecture for that class.
    Now Refactor-?Rename the class. This doesn't affect the SUT
    instance.
    
    The problem sometimes occurs when creating a new profile with a
    new term applicable to object. Now add the profile as reference
    to a model. Instantiate a class in several ways (as part of
    another class, as global object, e.t.c.). 'Change to' these
    instances to 'new term' of the referenced profile. Then
    Refactor-?Rename the class from which the instances were
    instantiated.
    
    As stated: this sometimes works and sometimes problem occurs
    with new term SUT from the TestingProfile
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.2.1                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Refactor -> Rename doesn't work for New Term elements like   *
    * Test Conductor elements                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • TC doesn't set names of SUT or test component instances anymore
    so refactor/rename will work for these elements (in newly
    created test architectures).
    Note: If a test component is a replacement for aa design class,
    Rhapsody won't notice design class and replacement are related
    so a test component instance won't be renamed automatically. If
    the user does "Update TestArchitecture" TC will write a warning
    to the output window if the names of design class and test
    component are different so the user can manually adjust it.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI40226

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-01

  • Closed date

    2015-12-22

  • Last modified date

    2015-12-22

  • 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

  • R812 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.1

Reference #: PI40226

Modified date: 22 December 2015