Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024836
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2013-09-26 17:352013-10-18 12:30
ReportercaristuView Statuspublic 
Assigned Toshankarb 
PriorityhighResolutionfixedFixed in Version3.0MP29
StatusclosedFix in branchFixed in SCM revisione495c1a09754
ProjectionnoneETAnoneTarget Version3.0MP29
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024836: Filter columns in query/list widgets

DescriptionFilter 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 ReproduceAs 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 SolutionThe @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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0024524 newdmiguelez @optional_filters@ widget clause. 

-  Notes
(0061681)
hgbot (developer)
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
---
(0061682)
AugustoMauch (manager)
2013-10-15 16:33

The changeset [1] references the message "OBUIAPP_CheckOptionalFilters", which has not been included in the commit.

[1] https://code.openbravo.com/erp/devel/pi/rev/bd3f85609c8fb6caf61f3f8b8fb7008e731676a9 [^]
(0061685)
hgbot (developer)
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
---
(0061755)
hudsonbot (developer)
2013-10-16 19:47

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/51315988909a [^]

Maturity status: Test
(0061758)
hudsonbot (developer)
2013-10-16 19:47

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/51315988909a [^]

Maturity status: Test
(0061800)
AugustoMauch (manager)
2013-10-18 12:30

Code reviewed and verified in pi@eb0f3ecbdae4

- 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker