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
The problem is where property.getDefault() will return an incorrect result. For primitive types boolean, byte, char, double, float, int, short, and long,given a property p of that type for which there is no value set and no default value, dataObject.get(p) will return an implicit default value of false for boolean, and 0 for the other types. p.getDefault() is also returning this implicit default, but it should not, and this triggers the BO layer to unset the property rather than set its value to null. Unsetting the value will not produce an XML element with attribute xsi:nil="true" in the serialization; the value must be set to null. Under WebSphere Process Server environment, this issue can be observed only with Lazy parsing mode.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Service Data Objects (SDO) API * * in IBM WebSphere Application Server V8.0 * * and WebSphere Process Server * **************************************************************** * PROBLEM DESCRIPTION: property.getDefault() returns * * incorrect result * **************************************************************** * RECOMMENDATION: * **************************************************************** If no default value is specified for a property, the Property.getDefault() method returns a default value for properties with an instance class of a primitive type, based on that type. For example, this method returns false for a boolean property. The correct return value is null. false should only be returned when the value of the property is retrieved.
Problem conclusion
The Property.getDefault() method has been corrected to not use implicit defaults based on the instance class. 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
PM53866
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-12-08
Closed date
2011-12-19
Last modified date
2011-12-19
APAR is sysrouted FROM one or more of the following:
PM53362
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