IBM Support

PI29296: DFT Rhapsody in Java is failed to generate comments from requirement specification field

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rhapsody in Java generates comments from requirement description
    tab other than from specification field
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    After selecting the "Include Requirements as Comments in
    Code" option, the generated Java code contains the text from
    the Description tab instead of the text from the
    requirement's Specification field. Also, a duplicate comment
    block is generated, resulting in compilation errors.
    

Problem conclusion

  • Both issues have been fixed in version 8.1.2.1
    Note that if you want the comment to include the text from
    the Description tab, you can add the keyword $Description to
    the value of the property
    JAVA_CG::Requirement::DescriptionTemplate.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI29296

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-11-09

  • Closed date

    2015-02-24

  • Last modified date

    2015-02-24

  • 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

  • R811 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.1

Reference #: PI29296

Modified date: 24 February 2015