Bug Fix on the Change Persistence Manager: ADDCHILDCOMPONENTCHANGE FOR IMAGE
THROWS NPE
---------------------------------------------------------------------------------------
Key: ADFFACES-69
URL: http://issues.apache.org/jira/browse/ADFFACES-69
Project: MyFaces ADF-Faces
Issue Type: Improvement
Reporter: K SRINATH REDDY
Priority: Critical
Code fix in the ChangeManager.java. The registered DocumentFactory class is not
honored properly. The variable converterObject will always be null for the
first time if the DocumentFactory is repgistered properly and the conversion
doesn't happen for the first time and if the class is not registered NPE is
thrown as there was no null check on converter before calling the convert
method on converter object.
Changes:
1. Replaced the null check of converterObject with the converter.
2. Added the null check for the converter before calling the convert method.
P.S: The consumers are waiting for this feature, could you please consider this
as critical
-thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira