IBM Support

PM36480: getSelection seems to be limited to siblings

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as documentation error.

Error description

  • Problem
    getSelection() perm doesn't work across non-sibling selections
    
    I suspect that this is actually just a case of a partial
    description in the manual. When using the related setSelection
    in the same circumstances, a sensible error is given.
    
    To Reproduce
     - create some objects in a hierarchy
     - using ?Shift? select mutliple objects across a range of the
    hierarchy
     - run code such as the following :
    
    '
    Module CurMod = current
    Object ONLYONE = current
    Object START = null
    Object FINISH = null
    
    getSelection(CurMod, START, FINISH)
    
    if((! null START) ?? (! null FINISH)) {
            print START.'Absolute Number' '\n'
            print FINISH.'Absolute Number' ''
    }
    '
    
    Possible Workarounds
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DXL documentation needs updated to reflect that getSelection
    perm only works across siblings
    

Problem conclusion

  • DXL documentation needs updated to reflect that getSelection
    perm only works across siblings
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM36480

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-07

  • Closed date

    2011-06-20

  • Last modified date

    2011-06-20

  • 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: 9.2

Reference #: PM36480

Modified date: 20 June 2011