Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024836 | Openbravo ERP | A. Platform | public | 2013-09-26 17:35 | 2013-10-18 12:30 |
|
Reporter | caristu | |
Assigned To | shankarb | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP29 | Fixed in Version | 3.0MP29 | |
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 | 0024836: Filter columns in query/list widgets |
Description | Filter columns is not working in query/list widgets if the @optional_filters@ clause is not present. This can lead the user to think that the filters for widgets are not working properly, because the "Can be filtered" checkbox are already marked. |
Steps To Reproduce | As system admin:
1) Create a Query/List widget of HQL type, using the following clause in the [Query tab]:
select p.searchKey as value,
p.name as nombre
from Product p
2) Create two registers in the [Column] tab for both columns: value and name. Use the string reference and mark the "Can be filtered" checkbox for both.
3) In the Where Clause Left Part put p.searchKey and p.name respectively
As group admin
4) Go to the [Role] window and in the [Widget Access Tab] give permissions to the group admin role for the new widget
5) Add the widget to the workspace. Notice that the filters are not working. |
Proposed Solution | The @optional_filters@ clause must be used in order to make the filters work. It would be nice to warn the user if the "Can be filtered" checkbox is marked for a widget column and the @optional_filters@ is not present in the query. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0024524 | | new | dmiguelez | @optional_filters@ widget clause. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-09-26 17:35 | caristu | New Issue | |
2013-09-26 17:35 | caristu | Assigned To | => AugustoMauch |
2013-09-26 17:35 | caristu | Modules | => Core |
2013-09-26 17:35 | caristu | Triggers an Emergency Pack | => No |
2013-09-26 17:35 | caristu | Issue Monitored: networkb | |
2013-09-26 17:44 | caristu | version | => pi |
2013-09-26 17:44 | caristu | Target Version | => 3.0MP29 |
2013-10-03 07:37 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-10-15 09:04 | caristu | Proposed Solution updated | |
2013-10-15 09:06 | caristu | Relationship added | related to 0024524 |
2013-10-15 09:11 | caristu | Summary | Filter for string columns are not working in query/list widgets => Filter columns in query/list widgets |
2013-10-15 09:11 | caristu | Description Updated | bug_revision_view_page.php?rev_id=5107#r5107 |
2013-10-15 16:12 | shankarb | Review Assigned To | => AugustoMauch |
2013-10-15 16:15 | hgbot | Checkin | |
2013-10-15 16:15 | hgbot | Note Added: 0061681 | |
2013-10-15 16:15 | hgbot | Status | new => resolved |
2013-10-15 16:15 | hgbot | Resolution | open => fixed |
2013-10-15 16:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bd3f85609c8fb6caf61f3f8b8fb7008e731676a9 [^] |
2013-10-15 16:31 | AugustoMauch | Issue Monitored: AugustoMauch | |
2013-10-15 16:33 | AugustoMauch | Note Added: 0061682 | |
2013-10-15 16:33 | AugustoMauch | Status | resolved => new |
2013-10-15 16:33 | AugustoMauch | Resolution | fixed => open |
2013-10-15 17:23 | hgbot | Checkin | |
2013-10-15 17:23 | hgbot | Note Added: 0061685 | |
2013-10-15 17:23 | hgbot | Status | new => resolved |
2013-10-15 17:23 | hgbot | Resolution | open => fixed |
2013-10-15 17:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/bd3f85609c8fb6caf61f3f8b8fb7008e731676a9 [^] => http://code.openbravo.com/erp/devel/pi/rev/e495c1a09754f6c33ed3961315c4b7828644b534 [^] |
2013-10-16 19:47 | hudsonbot | Checkin | |
2013-10-16 19:47 | hudsonbot | Note Added: 0061755 | |
2013-10-16 19:47 | hudsonbot | Checkin | |
2013-10-16 19:47 | hudsonbot | Note Added: 0061758 | |
2013-10-18 12:30 | AugustoMauch | Note Added: 0061800 | |
2013-10-18 12:30 | AugustoMauch | Status | resolved => closed |
2013-10-18 12:30 | AugustoMauch | Fixed in Version | => 3.0MP29 |
Notes |
|
(0061681)
|
hgbot
|
2013-10-15 16:15
|
|
Repository: erp/devel/pi
Changeset: bd3f85609c8fb6caf61f3f8b8fb7008e731676a9
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Oct 15 19:43:58 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/bd3f85609c8fb6caf61f3f8b8fb7008e731676a9 [^]
Fixes Issue 0024836: Filter columns in query/list widgets
Added callout to show warning message when 'can be filtered' is selected for a column and the query hql does not contain @optional_filters@.
---
A modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/CheckOptionalFilterCallout.java
---
|
|
|
|
|
|
(0061685)
|
hgbot
|
2013-10-15 17:23
|
|
Repository: erp/devel/pi
Changeset: e495c1a09754f6c33ed3961315c4b7828644b534
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Oct 15 20:47:26 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e495c1a09754f6c33ed3961315c4b7828644b534 [^]
Fixes Issue 0024836: Added exported files
---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_COLUMN.xml
A modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_CALLOUT.xml
A modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
A modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
---
|
|
|
|
|
|
|
|
|
|
Code reviewed and verified in pi@eb0f3ecbdae4 |
|