IBM Support

PI45498: DOORS: ASSIGNING AN ARRAY TO A STRING IN DXL IS PROBLEMATIC WITH 64 BIT CLIENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as Permanent restriction.

Error description

  • The DXL editor should throw an error for this line of code:
    const string sVM_PERMISSIONS = {"R", "C", "M", "D", "A"}
    
    This line does seem to have an effect on further code:
    const string sVM_PERMISSIONS = {"R", "C", "M", "D", "A"}
    
    const string strVM_OPERATIONS[] = {"DeleteView",
    "AddViewSecurity",
    "RemoveViewSecurity", "SetDefaultView", "CopyView", "SaveView"}
    
    print "(" strVM_OPERATIONS[0] ")\n"
    print "(" strVM_OPERATIONS[1] ")\n"
    
    /*The output for the first print statement will be () when it
    should actually be (DeleteView). If you comment out that first
    problem line, then the print statement correctly shows
    (DeleteView). It's almost certainly because the first line of
    code is overwriting the start of the second array object,  due
    to differences in the size of pointers.
    */
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Assigning an array to a string in DXL is problematic with    *
    * the 64-bit client                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Having investigated this issue the decision was reached that the
    issue is at such a fundamental architectural level that any
    changes will potentially have unintended side effects that are
    not worth risking.
    
    The customer code is invalid and by changing it the problem no
    longer occurs.
    
    As such the recommendation is that the DXL script is changed and
    not the parser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI45498

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    961

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-22

  • Closed date

    2015-09-22

  • Last modified date

    2015-09-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels



Document information

More support for: Rational DOORS

Software version: 961

Reference #: PI45498

Modified date: 22 September 2015