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

Rishi Solanki edited comment on OFBIZ-8722 at 11/7/16 10:57 AM:
----------------------------------------------------------------

Yeah, calling it from controller requires an UI, and if user wants to send few 
values null then she can not. Same applies everywhere service will be used. 
That is why I'm not agree with the solution. Even with the problem reported, 
there is nothing wrong if service set any value what she gets from parameters, 
it is service user class/method responsiblity to take care of different 
behavior of basic crud service.


was (Author: rishisolankii):
Yeah, calling it from controller requires an UI, and if user wants to send few 
values null then she can not. Same applies everywhere service will be used. 
That is why I'm not agree with the 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)

Reply via email to