|
Is Empty for text-find widget broken
------------------------------------ Key: OFBIZ-4025 URL: https://issues.apache.org/jira/browse/OFBIZ-4025 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Environment: Rev 1036293 Reporter: Anne Jessel Priority: Minor To reproduce: - go to Facility, Inventory Items tab (or any form that uses text-find widget) - choose "Is Empty" from drop-down next to Product Id - click Find button Expected behaviour: no matching items listed, as all items have a Product Id. Observed behaviour: all items match. Problem is caused by find code assuming that there is no entity condition to be created if the text field is empty, but of course Is Empty is different to the other operators in that the text field is expected to be empty. The attached patch adds a special check for the Is Empty operator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anne Jessel updated OFBIZ-4025: ------------------------------- Attachment: OFBIZ-4025_Is-Empty-for-text-find-broken.patch > Is Empty for text-find widget broken > ------------------------------------ > > Key: OFBIZ-4025 > URL: https://issues.apache.org/jira/browse/OFBIZ-4025 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Rev 1036293 > Reporter: Anne Jessel > Priority: Minor > Attachments: OFBIZ-4025_Is-Empty-for-text-find-broken.patch > > > To reproduce: > - go to Facility, Inventory Items tab (or any form that uses text-find widget) > - choose "Is Empty" from drop-down next to Product Id > - click Find button > Expected behaviour: no matching items listed, as all items have a Product Id. > Observed behaviour: all items match. > Problem is caused by find code assuming that there is no entity condition to be created if the text field is empty, but of course Is Empty is > different to the other operators in that the text field is expected to be empty. > The attached patch adds a special check for the Is Empty operator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4025. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 10.04 Assignee: Jacques Le Roux Thanks Anne, Your patch is in trunk at r1042396, R10.04 at r1042402, too much conflicts in R9.04 > Is Empty for text-find widget broken > ------------------------------------ > > Key: OFBIZ-4025 > URL: https://issues.apache.org/jira/browse/OFBIZ-4025 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Rev 1036293 > Reporter: Anne Jessel > Assignee: Jacques Le Roux > Priority: Minor > Fix For: Release Branch 10.04, SVN trunk > > Attachments: OFBIZ-4025_Is-Empty-for-text-find-broken.patch > > > To reproduce: > - go to Facility, Inventory Items tab (or any form that uses text-find widget) > - choose "Is Empty" from drop-down next to Product Id > - click Find button > Expected behaviour: no matching items listed, as all items have a Product Id. > Observed behaviour: all items match. > Problem is caused by find code assuming that there is no entity condition to be created if the text field is empty, but of course Is Empty is > different to the other operators in that the text field is expected to be empty. > The attached patch adds a special check for the Is Empty operator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
