You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrew Nelson (JIRA)" <ji...@apache.org> on 2010/08/03 06:42:16 UTC
[jira] Updated: (CXF-2916) unmarshalling the JSON of a subclass
fails when a field value is null
[ https://issues.apache.org/jira/browse/CXF-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Nelson updated CXF-2916:
-------------------------------
Attachment: CXF-2916.patch
CXF-2916-jettison.patch
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.