[
https://issues.apache.org/jira/browse/OFBIZ-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200820#comment-13200820
]
Jacques Le Roux commented on OFBIZ-4602:
----------------------------------------
Paul,
Thanks to mention the nillable possiblity. Actually, for 2 weeks, I'm
considering to use it also in another case but have still to test the changes I
did in ModelService.getTypes(). This other case is not directly related. It's
when you use an exported service (SOAP) which may return null elements (in my
case a list of maps where some elements may be null). When you try to
unmarshall the SOAP response from CXF side you get an error like
{code}
Unmarshalling Error: unexpected element
(uri:"http://ofbiz.apache.org/service/", local:"null")
{code}
As soon as I will have fixed this, I hope to have a better experience of
setting nillable attributes and I will consider to use it also in the case at
hand.
----
Divesh,
So it's a WIP and I don't want to revert anything for now. If you have an issue
with your production system and have not yet reverted the 2 changes above then
you may consider to do it in the meantime. Of course, I expect to fix that soon
(this week) ... Sorry for the inconvenient...
> 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
> Assignee: Jacques Le Roux
> Fix For: Release Branch 4.0, Release Branch 09.04, Release Branch
> 10.04, Release Branch 11.04, SVN trunk
>
> 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