IBM Support

PI55836: WHEN TEXT() LOOKS AT A LAYOUT COLUMN CONTAINING TEXT(), INCORRECT RESULTS ARE RETURNED: AFFECTS EXCEL EXPORT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If you use the text() perm to get the value displayed in a
    column, and that column is a layout column which in turn uses
    text() on another column, the returned result will be a
    concatenation of both separated by a new line.
    
    The Excel and Word exporter both use text, so when used on that
    kind of data produce incorrect output.
    
    To recreate:
    
     - create a column in a view to show some text, and enter text
    in it for some objects
     - create a layout column with code such as the following,
    ensuring that "colIndex" is set to the index of the first column
    
    "
    int colIndex = 3
    Column c = column colIndex
    
    string s = text (c, obj)
    display s
    "
    
     - save the view
     - export to either Word or Excel, or run code such as the
    following and compare the output with the column value (this
    time verifying the column index refers to the layout column):
    
    "
    Object o = current
    Column c = column 4
    
    string s = text (c, o)
    print s
    "
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users/environments affected.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If you use the text() perm to get the value displayed in a   *
    * column, and that column is a layout column which in turn     *
    * uses text() on another column, the returned result will be a *
    * concatenation of both separated by a new line.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Client side fix.
    

Problem conclusion

  • This has been resolved in the DOORS 9.6.1.7 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI55836

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    952

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-21

  • Closed date

    2018-01-04

  • Last modified date

    2018-01-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 DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R961 PSY

       UP



Document information

More support for: Rational DOORS

Software version: 9.5.2

Reference #: PI55836

Modified date: 04 January 2018