[
https://issues.apache.org/jira/browse/OFBIZ-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782292#action_12782292
]
Scott Gray commented on OFBIZ-3151:
-----------------------------------
Hi Chatree,
Does that actually work though? As far as I can tell the string representation
of GenericEntity.NULL_FIELD is "[null-field]" and not "nullField".
Assuming it does work, is it really worth adding something that is more verbose
than the existing method but achieves the exact same thing?
Do you really prefer:
<set field="parameters.statusId" from-field="nullField"/> <!-- or [null-field]
-->
<set field="parameters.statusId_op" value="equals"/>
over this:
<set field="parameters.statusId_op" value="empty"/>
If you do that is fine, go ahead and leave it in there, it's entirely up to you
and Hans.
> fix for using "equals" operator with null field in performFind service.
> -----------------------------------------------------------------------
>
> Key: OFBIZ-3151
> URL: https://issues.apache.org/jira/browse/OFBIZ-3151
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Chatree Srichart
> Fix For: SVN trunk
>
> Attachments: FindServices.java.diff
>
>
> Because I can not use "equals" operator with null field in performFind
> service. So I fixed for use one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.