[jira] [Commented] (OFBIZ-8722) Update Services set non-pk fields to null, if only passed pks

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

[jira] [Commented] (OFBIZ-8722) Update Services set non-pk fields to null, if only passed pks

Nicolas Malin (Jira)

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

Deepak Dixit commented on OFBIZ-8722:
-------------------------------------

It will fail in case of Ajax request calling like in in-place editing.

If case of in-line/in-place editing we pass only primary key and related values. In this case it will set all the remaining items to null and its not an valid case.

Like if you want to only edit PartyGroup.groupName and service set all the remaining parameters to null than its wrong workflow. And now a days SPA is mostly used application and user generally prefer to use agular/ajax for client side implementation so setting null values to remaining fields is not an good solution.




> Update Services set non-pk fields to null, if only passed pks
> -------------------------------------------------------------
>
>                 Key: OFBIZ-8722
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8722
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>            Assignee: Rishi Solanki
>
> When we pass only pks in some update services. All non-pk values are getting null.



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