ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pawan Verma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-8723) Entity Auto services set remaining fields to null when passed only required fields
Date Tue, 01 Nov 2016 12:04:58 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-8723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15625254#comment-15625254
] 

Pawan Verma commented on OFBIZ-8723:
------------------------------------

While looking into this issue, I found that in EntityAutoEngine.java in invokeUpdate method
at line no 439 setNonPKFields(parameters, true) is set to true, this is  the reason for this
issue.

> Entity Auto services set remaining fields to null when passed only required fields
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-8723
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8723
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>
> Entity Auto services set remaining fields to null when passed only required fields. 
> For example : Suppose we want to update only noteInfo field of a Note. I used Service
updateNote from webtools passed only noteId and noteInfo.
> Expected : Only noteInfo field should be updated.
> Actual : All fields other than noteId and noteInfo is set to null. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message