IBM Support

PM02209: WRONG BEHAVIOUR OF ATTRIBUTE DXL FOR ATTRIBUTE TYPE STRING

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • wrong (not documented) behaviour of attribute dxl for attribute
    type string.
    
    - an attribute dxl is re-calculated, then its read, after
    assigning a value null or an empty string
    - to avoid unnecessary calculation loops they assign a space if
    the value is null
    - if they assign one or more space to an attribute of type
    string with attribute dxl then it behave like it got value null
    assigned. which means it gets always re-calculated, like an
    layout dxl
    
    test code to demonstrate:
    if( !null( obj ) ) {
    obj.attrDXLName = ' ';
    if( confirm( 'Calculation in Object: ' obj.'Absolute Number' ''
    ,
    msgInfo ) ) halt;
    };
    
    If they use it in an Dxl Attribute of type text, it works like
    documented.
    

Local fix

  • use attribute type text for dxl attribut instead of attribute
    type string
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There are occasions that result in attribute DXL being
    executed more than once.
    If you assign either null, or an empty string, or make no
    assignment, the DXL will get run 3 times (occasionally 4
    times) for both string and text type attributes.
    

Problem conclusion

  • The code has been changed to detect such scenarios resulting
    in the attribute DXL to be executed once.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02209

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-27

  • Closed date

    2010-09-17

  • Last modified date

    2010-09-17

  • 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

  • R920 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 9.2

Reference #: PM02209

Modified date: 17 September 2010