APAR status
Closed as program error.
Error description
The JavaScript error "Uncaught TypeError: G.hasKey is not a function" occurs when using ajax with the file upload tag.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Java Server Faces (JSF) on IBM * * WebSphere Application Server version 9.0.5 * * and users of jsf-2.2, jsf-2.3, and * * faces-3.0 on WebSphere Liberty.All users * * of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: Ajax file uploads in JSF fail with * * the following error: G.hasKey is not * * a function * **************************************************************** * RECOMMENDATION: * **************************************************************** The fix for PH55398 (introduced in 24.0.0.1 and 9.0.5.19) accidentally created a regression in JSF. When an application uses Ajax-enabled file uploads, the following JavaScript error may occur: Uncaught TypeError: G.hasKey is not a function at eval ( eval at appendIssuingItem (jsf.jx.xhtml?In=javax.feaces:13:72889) at J.<computed>.appendIssuingItem ( jsf.js.xhtml?In=javax.faces:12:72889) at constructor_.getFormData (jsf.js.xhtml?In=javax.faces:13:87643)
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.22 and Liberty fixpack 24.0.0.8. The Open Liberty Github issue can be found here: https://github.com/OpenLiberty/open-liberty/issues/28698 The corresponding JIRA issue is found here: https://issues.apache.org/jira/browse/MYFACES-4672 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
PH62139
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-07-02
Closed date
2024-08-09
Last modified date
2024-08-28
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:
29 August 2024