Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025447 | Openbravo ERP | B. User interface | public | 2014-01-08 16:14 | 2014-03-06 11:18 |
|
Reporter | caristu | |
Assigned To | shankarb | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q2 | Fixed in Version | 3.0PR14Q2 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025447: isNull filter expression is not working properly for table reference |
Description | The isNull filter expression is not working properly for those fields that are related to a table reference. Other filter expressions like isNotNull are working fine. |
Steps To Reproduce | 1) Go to the [Sales Order] window and display the "Sales Representative" (table reference) field in grid view.
2) Without removing the implicit filters, put # (isNull) in the Sales Representative filter. It works fine.
3) Remove the implicit filter (by clicking on the funnel icon)
4) Put # (isNull) in the Sales Representative filter. It doesn't work.
5) Put !# (isNotNull) in the Sales Representative filter. It works fine. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0025211 | | closed | AugustoMauch | Filter by selected value in FK uses identifier instead of ID |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-01-08 16:14 | caristu | New Issue | |
2014-01-08 16:14 | caristu | Assigned To | => dbaz |
2014-01-08 16:14 | caristu | Modules | => Core |
2014-01-08 16:14 | caristu | Resolution time | => 1395788400 |
2014-01-08 16:14 | caristu | Triggers an Emergency Pack | => No |
2014-01-08 16:15 | dbaz | Assigned To | dbaz => shankarb |
2014-01-08 16:15 | caristu | Assigned To | shankarb => dbaz |
2014-01-08 16:15 | caristu | Summary | isNull expression filter is not working properly for table reference => isNull filter expression is not working properly for table reference |
2014-01-08 16:15 | caristu | Description Updated | bug_revision_view_page.php?rev_id=5296#r5296 |
2014-01-08 16:15 | caristu | Issue Monitored: networkb | |
2014-01-08 16:23 | caristu | Assigned To | dbaz => shankarb |
2014-01-08 18:59 | alostale | Note Added: 0063318 | |
2014-01-08 19:00 | alostale | Relationship added | related to 0025211 |
2014-01-08 19:01 | alostale | Note Edited: 0063318 | bug_revision_view_page.php?bugnote_id=0063318#r5298 |
2014-02-27 13:31 | caristu | Target Version | 3.0MP33 => 3.0MP32 |
2014-03-03 06:12 | shankarb | Issue Monitored: AugustoMauch | |
2014-03-03 06:12 | shankarb | Review Assigned To | => AugustoMauch |
2014-03-03 06:13 | hgbot | Checkin | |
2014-03-03 06:13 | hgbot | Note Added: 0064703 | |
2014-03-03 06:13 | hgbot | Status | new => resolved |
2014-03-03 06:13 | hgbot | Resolution | open => fixed |
2014-03-03 06:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/75f848b61c970b56a125d16cc20f52179587b357 [^] |
2014-03-03 17:38 | hudsonbot | Checkin | |
2014-03-03 17:38 | hudsonbot | Note Added: 0064757 | |
2014-03-06 11:18 | AugustoMauch | Note Added: 0064900 | |
2014-03-06 11:18 | AugustoMauch | Status | resolved => closed |
2014-03-06 11:18 | AugustoMauch | Fixed in Version | => PR14Q2 |
Notes |
|
(0063318)
|
alostale
|
2014-01-08 18:59
(edited on: 2014-01-08 19:01) |
|
This is the current query:
Order as e left join e.salesRepresentative as join_0 where (( e.salesRepresentative.name is null ))
This is what it should be:
Order as e left join e.salesRepresentative as join_0 where (( e.salesRepresentative is null ))
Notes:
*when fixing this issue take also into account adaptive filtering
*verify also other FK references (tableDir, selector...)
|
|
|
(0064703)
|
hgbot
|
2014-03-03 06:13
|
|
Repository: erp/devel/pi
Changeset: 75f848b61c970b56a125d16cc20f52179587b357
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Feb 06 14:23:45 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/75f848b61c970b56a125d16cc20f52179587b357 [^]
Fixes Issue 25447: isNull filter expression is not working properly for table reference
If the operator is isNull or notNull comparison should be done at the object level and
not at the field value level
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
|
|
|
|
Code reviewed and verified in pi@9484419af022.
Tested with and without adaptive filtering. |
|