IBM Support

PH21985: DESCRIPTIONENDLINE PROPERTY SEEMS NOT TO WORK PROPERLY FOR MULTI-LINE DESCRIPTIONS WITHIN IMPLEMENTATIONHEADER PROPERTY

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Steps to Reproduce:
    
    **********
    1. Create a new project with a Class,
    2. Add the following description to the class.
    -----------------------------
    This module outputs the first warning (without radar
    measurement) that should
    make the driver verify that nobody is left behind on the back
    seat.
    The module consists of a state machine which runs in the
    communication task and
    updates internal states based on vehicle signals. Finally it
    issues the First Warning signal
    when necessary.
    -----------------------------
    3: Set the value C_CG::Configuration::DescriptionBeginLine  as
    "/*"
    4: Set the value C_CG::Configuration::DescriptionEndLine .   as
    "*/"
    5: Add Description : $Description
    C_CG::File::ImplementationHeader
    
    Generate code:
    In class.h file the description generates as below:
    ***********
    /*This module outputs the first warning (without radar
    measurement) that should*/
    /*make the driver verify that nobody is left behind on the back
    seat. */
    /*The module consists of a state machine which runs in the
    communication task and*/
    /*updates internal states based on vehicle signals. Finally it
    issues the First Warning signal*/
    /*when necessary.*/
    ************
    
    In class.c file the the description generates as below in the
    header
    ************
    Description : This module outputs the first warning (without
    radar measurement) that should
    */
    /*make the driver verify that nobody is left behind on the back
    seat.
    */
    /*The module consists of a state machine which runs in the
    communication task and
    */
    /*updates internal states based on vehicle signals. Finally it
    issues the First Warning signal
    */
    /*when necessary.
    ************
    If you mark the "*/" is appearing in the next line not at the
    end of the line .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * when the properties{SpecificationHeader,                     *
    * ImplementationHeader, SpecificationFooter,                   *
    * ImplementationFooter} contain the keyword  $Description and  *
    * the description is multi line                                *
    * a extra new line (\r) is generated between the description   *
    * lines                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • problem fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH21985

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-10

  • Closed date

    2020-07-06

  • Last modified date

    2020-07-06

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 July 2020