Fixes are available
8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
APAR status
Closed as program error.
Error description
We face an issue with composite components, regarding BigDecimal as a destination type when using <f:convertNumber/> converter.
Local fix
It looks as though the Community has resolved this issue in MYFACES-2552 and has included this in MyFaces 2.0.10, L3 tested it locally and it looks to resolve the problem.
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Version * * 8.0 users of MyFaces JavaServer Faces * * (JSF). * **************************************************************** * PROBLEM DESCRIPTION: Conversion problem when using a * * Composite Component and * * java.math.BigDecimal as a destination * * type in a <f:convertNumber/> tag. * **************************************************************** * RECOMMENDATION: * **************************************************************** When using a Composite Component and BigDecimal as a destination type in a <f:convertNumber/> tag, the value is not converted correctly. An example Composite Component is: <test:testComponent value="#{testBean.person.weightCC}" > <f:converter converterId="javax.faces.BigDecimal" for="testForm:testValue"/> </test:testComponent> If "33.33" is the input value, the returned value would be "33.32999999..." which is incorrect . The expected value is "33.33".
Problem conclusion
The following fix was pulled into WebSphere Application Server from the MyFaces Open Source Community: https://issues.apache.org/jira/browse/MYFACES-2552 The following JSF context parameter was added: org.apache.myfaces.STRICT_JSF_2_CC_EL_RESOLVER (default false ). This context parameter can be set to true to disable this functionality. The fix for this APAR is currently targeted for inclusion in fix pack 8.0.0.3. 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
PM52177
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-11-14
Closed date
2012-01-06
Last modified date
2012-03-09
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
R800 PSY
UP
Document Information
Modified date:
28 October 2021