IBM Support

PK65727: MENUS RETURNING INCONSISTENT RESULTS

 

APAR status

  • Closed as program error.

Error description

  • Currently when looking up Categories and Site Area for Menus, we
    use the current users access control. So if the user who is
    rendering the menu does not have access to the category/site
    area then it will not be returned as part of the search
    criteria, which mean that the search criteria for the menu will
    change depending on who is viewing the menu and thus give
    inconsistent results.
    
    Sample scenario
    
    Menu search criteria :
     Siteareas -> Sitearea1 (selected sitearea)
     Categories ->  Include descendants is checked . Categories from
    current content, restricted to "catA"
    
    Assume that there are 4 content items c1,c2,c3,c4 under
    sitearea1. c1 and c2 belong to catA. c3 and c4 dont have any
    category. The current content belongs to catA.
    
    Results with wpsadmin : c1 and c2
    Results with a user who does not have access to cat1 or any of
    its descendants (the results of step1 were cached) :  c1 and c2
    Results with a user who does not have access to cat1 or any of
    its descendants (after clearing the cache): c1,c2,c3 and c4
    

Local fix

  • The problem was due to the fact that we were using the current
    users access control to filter out categories/site areas for
    menus.
    
    This was also an issue when the menu cache was being used, as
    the result set retrieved for the cache would alter depending on
    the users access control who viewed the menu when the results
    were being cached (the first time the menu was rendered or after
    it expired).
    
    The fix was to always use System access when looking up
    Categories and Site Areas for Menus.
    

Problem summary

  • Menus returning inconsistent results
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK65727

  • Reported component name

    WRKPLC WEB CON

  • Reported component ID

    5724I2900

  • Reported release

    60F

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-08

  • Closed date

    2008-06-10

  • Last modified date

    2008-08-21

  • 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

    WRKPLC WEB CON

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60G PSY

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.2","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
09 September 2020