ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Antivackis (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-4602) Null values are not synchronized in http mode
Date Fri, 02 Dec 2011 08:07:40 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Patrick Antivackis updated OFBIZ-4602:
--------------------------------------

    Attachment: patch-OFBIZ-4602.txt

To solve this issue, I managed null value the same way GenericEntity.setString (which is used
for the Xml deserializing). I only managed until case 10, because i'm not sure the setString
for the cases 11 to 15 are well managed (not taking care of null value) 
                
> Null values are not synchronized in http mode
> ---------------------------------------------
>
>                 Key: OFBIZ-4602
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4602
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release 4.0, Release 09.04, Release 09.04.01, Release 10.04, SVN
trunk
>         Environment: Using entity synchronization over HTTP (not RMI)
>            Reporter: Patrick Antivackis
>         Attachments: patch-OFBIZ-4602.txt
>
>
> In order to send over http the values to create, store and remove, Ofbiz is Xml serializing
the values. GenericValue xml serialization is managed in GenericEntity.makeXmlElement, unfortunately
this method just don't serialized null valued fields.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message