IBM Support

PM60890: Rhapsody creates #include when a user type matches attribute declaration

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as Permanent restriction.

Error description

  • In a scenario where there is a user-defined type in the model,
    and elsewhere, there is an attribute or argument where 'Use
    Predefined Types' is unchecked,.. if you enter text into the
    declaration field that matches the user-defined type, Rhapsody
    creates a #include in that code, referencing the user-defined
    type's parent package without warning the user.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Rhapsody creates #include when a user-defined type matches
    an attribute declaration.
    

Problem conclusion

  • This is the expected behavior. You can prevent the
    generation of such an #include by setting the
    CG::Package::GenerateImplicitDependencies property to False.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM60890

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    760

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-21

  • Closed date

    2012-07-13

  • Last modified date

    2012-07-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels



Document information

More support for: Rational Rhapsody

Software version: 7.6

Reference #: PM60890

Modified date: 13 July 2012