IBM Support

PM21909: changing users 'additional information' details through batch mode resets other user properties

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Problem
    If you try to change a users 'description' field through DXL in
    batch mode other user properties like email address, user power,
    password, etc will be changed.
    
    To Reproduce
    - create a user called 'John Smith'
    - give him db manager powers
    - enter something into all the fields in the 'details' tab other
    than 'additional information'
    - run the following DXL in batch mode:
    
    // user details
    const string sUserName = 'John Smith'
    const string sDescription = 'AAAAAAAA\nBBBBBBBB'
    
    User u = find(sUserName)
    setUser(u, description, sDescription)
    saveDirectory()
    
    print 'done\n'
    
    - look at the user through the GUI
    
    All user properties other than 'system username' will have been
    reset. The users password has also been reset.
    
    Possible Workarounds
    Run the DXL through the GUI.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If you try to change a users 'description' field through DXL
    in batch mode other user properties like email address, user
    power, password, etc will be changed.
    
    To Reproduce
    - create a user called 'John Smith'
    - give him db manager powers
    - enter something into all the fields in the 'details' tab
    other than 'additional information'
    - run the following DXL in batch mode:
    
    // user details
    const string sUserName = "John Smith"
    const string sDescription = "AAAAAAAA\nBBBBBBBB"
    
    User u = find(sUserName)
    setUser(u, description, sDescription)
    saveDirectory()
    
    print "done\n"
    
    - look at the user through the GUI
    
    All user properties other than 'system username' will have
    been reset. The users password has also been reset.
    

Problem conclusion

  • Resetting of the user properties is not reproducible anymore
    with 9.3. However, the provided DXL code is not correct and
    it causes a runtime error when following these steps:
    - Create a user "John Smith" user
    - Close the client
    - Open the client, run the original snippet (without looking
    "John Smith"s details like Tools -? Manage Users -? "John
    Smith" -? Edit)
    - Observe the runtime error
    
    The code below can be used to resolve the issue
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM21909

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-03

  • Closed date

    2011-04-15

  • Last modified date

    2011-04-15

  • 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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020