[jira] Created: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

9 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Updated: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink

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

Chatree Srichart updated OFBIZ-3151:
------------------------------------

    Attachment: FindServices.java.diff

> 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.

JIRA jira@apache.org

[jira] Created: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
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.

JIRA jira@apache.org

[jira] Commented: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink

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

Jacques Le Roux commented on OFBIZ-3151:
----------------------------------------

Hi Chatree,

Could you explain please how you use null field in performFind service ?

> 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.

JIRA jira@apache.org

[jira] Commented: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Chatree Srichart commented on OFBIZ-3151:
-----------------------------------------

I would like to look up parties which have empty statusId field.
I use performFind service included condition...
....
<set field="parameters.statusId" from-field="nullField"/>
<set field="parameters.statusId_op" value="equals"/>
....
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
....

But I don' t accepted anything.

> 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.

JIRA jira@apache.org

[jira] Issue Comment Edited: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Chatree Srichart edited comment on OFBIZ-3151 at 11/5/09 9:33 AM:
------------------------------------------------------------------

I would like to look up parties which have empty statusId field.
I use performFind service included condition...
....
<set field="parameters.statusId" from-field="nullField"/>
<set field="parameters.statusId_op" value="equals"/>
....
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
....

But It doesn' t accepted anything.

      was (Author: chatree):
    I would like to look up parties which have empty statusId field.
I use performFind service included condition...
....
<set field="parameters.statusId" from-field="nullField"/>
<set field="parameters.statusId_op" value="equals"/>
....
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
....

But I don' t accepted anything.
 

> 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.

JIRA jira@apache.org

[jira] Commented: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Scott Gray commented on OFBIZ-3151:
-----------------------------------

Have you tried this:
<set field="parameters.statusId_op" value="empty"/>

> 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.

JIRA jira@apache.org

[jira] Commented: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Jacques Le Roux commented on OFBIZ-3151:
----------------------------------------

Hi Chatree,

Should we close ?

> 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.

JIRA jira@apache.org

[jira] Closed: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Hans Bakker closed OFBIZ-3151.
------------------------------

    Resolution: Fixed

Thanks for your contribution, Committed revision 883525.

> 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.

JIRA jira@apache.org

[jira] Commented: (OFBIZ-3151) fix for using "equals" operator with null field in performFind service.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Jacques Le Roux commented on OFBIZ-3151:
----------------------------------------

Hi Hans, Chatree,

So "empty" did not work ?

> 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.