You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (JIRA)" <ji...@apache.org> on 2016/11/01 12:04:58 UTC

[jira] [Commented] (OFBIZ-8723) Entity Auto services set remaining fields to null when passed only required fields

    [ 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)