[ https://issues.apache.org/jira/browse/CXF-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894818#action_12894818 ]
Andrew Nelson edited comment on CXF-2916 at 8/3/10 12:58 AM: ------------------------------------------------------------- This issue seems to be caused by http://jira.codehaus.org/browse/JETTISON-89 . The attached file (CXF-2916.patch) should be applied the cxf trunk. The attached file (CXF-2916-jettison.patch) should be applied to the jettison trunk. was (Author: drewbob): This issue seems to be caused by http://jira.codehaus.org/browse/JETTISON-89 . The attached file (CXF-2916.path) should be applied the cxf trunk. The attached file (CXF-2916-jettison.patch) should be applied to the jettison trunk. > unmarshalling the JSON of a subclass fails when a field value is null > --------------------------------------------------------------------- > > Key: CXF-2916 > URL: https://issues.apache.org/jira/browse/CXF-2916 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.2.9 > Environment: Windows XP, JDK 1.6.0_14 > Reporter: Chaitanya Choleti > Attachments: CXF-2916-jettison.patch, CXF-2916.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > Unmarshalling the JSON : > {"@xsi.type" : "subClassTest", "id" : "10000000", "name" : null } > should give an instance of SubClassTest.class and the value of the field > name(which is a String) should be null, but with the current implementation > the value of the field name is String "null" . > This happens only in the case of unmarshalling JSON to a subclass. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.