IBM Support

PH56797: WHEN USING ADMINAPP.EDIT() TO RUN -MAPROLESTOUSERS, A EMPTY STRING USED IN PLACE OF A ROLE NAME CAUSES INCORRECT BEHAVIOR

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

  • The AdminApp.edit() function, when used to perform role mapping
    to a specific application (via the argument -MapRolesToUsers),
    if the role name is left as a empty string in the block of
    arguments to map roles, those settings are used on all roles.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  version 8.5.5 or later                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: WHEN USING ADMINAPP.EDIT() TO RUN -     *
    *                      MAPROLESTOUSERS, A EMPTY STRING USED IN *
    *                      PLACE OF A ROLE NAME CAUSES INCORRECT   *
    *                      BEHAVIOR                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WHEN USING ADMINAPP.EDIT() TO RUN -MAPROLESTOUSERS, A EMPTY
    STRING USED IN PLACE OF A ROLE NAME CAUSES THE EMPTY STRING END
    UP BEING USED ON ALL ROLES.
    

Problem conclusion

  • The code is updated to fix the problem.
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.25 and 9.0.5.18. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH56797

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-09-07

  • Closed date

    2023-11-13

  • Last modified date

    2023-11-13

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 November 2023