IBM Support

PI78482: DEPENDENCY TO PACKAGE STEREOTYPE 'USAGE' DOES NOT INCLUDE THE PACKAGE HEADER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to Reproduce:
    1. Create a new rhapsody model and create a new package(say
    Default).
    2. Create a new class(say class_1) with in the 'Default'
    package. To avoid automatic include generation(i.e. #include
    "Default.h"), disable Property 'GenerateImplicitDependencies'
    for the class.
    3. Create a dependency(of stereotype 'Usage') from 'class_1' to
    the 'Default' Package to generate '#include "Default.h"'
    explicitly.
    4. Generate code for the 'class_1' .
    
    The generate code for class_1 does not have the include for the
    dependency package despite the explicit dependency added in
    step.3
    
    Note: when a dependency(of stereotype 'Usage') is created to a
    different package(say Package_1), include is generated properly.
    
    Also reproducible in Rhapsody 8.2
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Dependency to Package Stereotype 'Usage' does not include    *
    * the package header                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Now, if user defines dependency on owner package and set its
    Implementation Usage, "#include" of package is generated in
    class implementation file.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI78482

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-20

  • Closed date

    2017-12-04

  • Last modified date

    2017-12-04

  • 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

  • R761 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
19 October 2021