IBM Support

PI98767: DOORS "INVALID ENUM VALUE" POPUP WHEN FILTERING ON AN ENUMERATION VALUE CONTAINING LINE BREAK

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Problem description:
    ===================
    Whenever an enumerated type has a value containing a line break
    ('\n' character) eg. "xyz\n",
    then when applying a filter on an attribute of that type results
    in the error message
        "Invalid enum value: 'xyz'."
    if the problematic enumerated value has been selected
    
    It is possible to create enumerated values containing a line
    break by DXL. This should be rejected or the filtering dialog
    box should cope with this situation.
    
    Steps to reproduce:
    ==================
    1) create an enumerated type containing a value with a line
    break
    
        string codes[] = {"a", "b\n", "c"}
        int    values[]= {0, 1, 3}
        int    colors[]= {-1, 20, 14}
        string errmess
        AttrType at = create ("my enum type", codes, values, colors,
    errmess)
        print (null at) "\n" errmess
    
    2) Create an object attribute of type "my enum attr"
    
    3) apply the filter
    my enum attr = b
    
    => the error message below is displayed in a popup
        "Invalid enum value: 'b'."
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DOORS users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The error message "Invalid enum value" appears when          *
    * filtering on an enumeration value that contains a line break *
    * character.                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Client side fix.
    

Problem conclusion

  • This has been resolved in the DOORS 9.7 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI98767

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    961

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-05

  • Closed date

    2019-07-09

  • Last modified date

    2019-07-09

  • 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



Document information

More support for: Rational DOORS

Software version: 961

Reference #: PI98767

Modified date: 09 July 2019