IBM Support

PH10582: DXL PASSWORD CHANGE THROWS EXCEPTION

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

  • Using the DXL function "changePasswordDialog" described in the
    DXL reference manual at page 225.
    If the user does not have mayEditUserList power, instead of
    getting an error message DOORS crashes with an
    EXCEPTION_ACCESS_VIOLATION in module general_library.dll at
    00000000CB14E857
    
    /*sample script*/
    DB    PW = create "Change your password"
    User  u = find()
    bool  completed
    bool userPower = u.mayEditUserList
    print u.mayEditUserList "\n"
    print userPower "\n"
    // show PW
    string s = changePasswordDialog( PW, u, false , completed)
    
    if ( completed)
    {
       if ( null s)
       {
           copyPassword()
           saveUserRecord( u)
           saveDirectory()
    
           infoBox( "Password changed successfully.")
       }
       else
       {
           warningBox( s)
           // warningBox( "Failed to change your password. It may be
    too simple, or it does not match.")
       }
    }
    
    To reproduce the error, log in DOORS with a user who does not
    have the mayEditUserList power (but with Edit DXL power)
    Actual behavior: Run the script, try to change the password ->
    Exception
    Expected behavior: DOORS should display an error message saying
    that the password can not be changed without confirming the
    existing one.
    

Local fix

  • Test if the user has mayEditUserList power and set the
    masquerade Boolean accordingly
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DOORS users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DXL password change throws exception.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Client side fix.
    

Problem conclusion

  • This has been resolved in the DOORS 9.7 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10582

  • 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

    2019-04-04

  • Closed date

    2019-07-05

  • Last modified date

    2019-07-05

  • 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 #: PH10582

Modified date: 05 July 2019