IBM Support

PH63238: MYFACES-4679 - AJAX EVENTS CAN TRIGGER ACTIONS UNINTENTIONALLY

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

  • Events such as blur or
    mouseover may trigger actions unintentionally. This is a
    MYFACES-4606 regression.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Ajax Events Can Trigger Button          *
    *                      Actions Unintentionally                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an element is ajax-enabled and specifies an event (such as
    focus or mouseover), that event will trigger the action of the
    encompassing element.
    For example, the mouseover event would incorrectly invoke both
    the listener and the confirm methods.  Instead, only the
    listener should activate during a mouseover event. 
    <h:commandButton id="confirm" action="#{bean.confirm()}" >
    <f:ajax event="mouseover" listener="#{bean.listener()}"/>
    </h:commandButton>
    The is a regression of PH55398 (MYFACES-4606). 
    

Problem conclusion

  • The JavaScript code in JSF has been updated to avoid this
    problem.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 9.0.5.23 and Liberty fixpack 25.0.0.1.
    
    The GitHub link can be found here:
    https://github.com/OpenLiberty/open-liberty/issues/29648
    
    The corresponding JIRA for this bug is MYFACES-4679.
    
    Note: JSF 2.3 and higher in Liberty will be fixed at a later
    time.
    
    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

    PH63238

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-09-13

  • Closed date

    2024-12-17

  • Last modified date

    2024-12-17

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
18 December 2024