IBM Support

PM98238: INCONSISTENT RESOLUTION OF THE VARIABLES IN F:AJAX@LISTENER METHODEXPRESSIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An inconsistent resolution of the variables in
    f:ajax@listener MethodExpressions is observed while resolution
    of the same variables in a h:commandLink@action
    MethodExpression and a ValueExpression worked as expected.
    Generally, it occurs:
    
    1. If the f:ajax tag occurs in a JavaServer Faces(JSF) page
    below a ui:include AND
    2. If a name referred to in the listener MethodExpression is
    redefined by a ui:param passed to said ui:include.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version    *
    *                  8.5.5 Liberty Profile users of JavaServer   *
    *                  Faces(JSF) MyFaces.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Variable resolution in a <f:ajax/>      *
    *                      listener attribute can be               *
    *                      inconsistent.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a <f:ajax/> tag occurs in a JSF page below a
    <ui:include/> tag and the name referred to in the listener
    MethodExpression is redefined by a <ui:param/> in the
    <ui:include/>  the variable could be resolved incorrectly.
    

Problem conclusion

  • The following fix was pulled into WebSphere Application Server
    from the Apache MyFaces Open Source Community to resolve this
    problem:
    1) https://issues.apache.org/jira/browse/MYFACES-3246
    
    To enable the new bahavior the following context parameter
    needs to be set to "true" in the web.xml of the application:
    
    com.ibm.ws.jsf.updateFaceletContextKey(true/false - default)
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.2.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM98238

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-01

  • Closed date

    2013-10-01

  • Last modified date

    2013-10-11

  • APAR is sysrouted FROM one or more of the following:

    PM92784

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
28 April 2022