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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Deepak Dixit closed OFBIZ-8723.
-------------------------------
       Resolution: Not A Problem
    Fix Version/s:     (was: Upcoming Release)

This is working expected, no need to set set-if-null true for set-nonpk-fields. As from runService screen we are passing all the values to empty/null so it set them to null, and this is expected behavior. I checked it if we call service from Ajax call and pass limited values than it working as expected.

So closing this ticket as Not a problem.

> 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
>            Assignee: Deepak Dixit
>
> 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)