ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-8722) Update Services set non-pk fields to null, if only passed pks
Date Mon, 07 Nov 2016 11:40:58 GMT

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

Mime
View raw message