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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020464
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 00. Application dictionaryminoralways2012-05-10 10:132012-09-24 12:55
ReportermalsasuaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020464: filter in widget with column date

Descriptionif you configure a column type date as a filter, this filter only allow select one date. It is not posible select a date from and date to

[1] http://wiki.openbravo.com/wiki/How_to_create_a_QueryList_Widget [^]
Steps To Reproducecreate widget with column type date checked as filter

http://wiki.openbravo.com/wiki/How_to_create_a_QueryList_Widget [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020462 closedmigueldejuana widget with column type "yesno" does not work 

-  Notes
(0048560)
migueldejuana (developer)
2012-05-10 17:33

It only allows select one date because it was changed in this changeset:

https://code.openbravo.com/erp/devel/pi/rev/aa2b3099cb9d#l4.7 [^]
(0048702)
migueldejuana (developer)
2012-05-16 15:37

Afair the problem was that the querylistwidget has its own implementation of handling filter criteria. The normal grid can handle advanced criteria/filter-criteria expressions. The query list widget implementation can only handle simple criteria.

If the date range filtering is enabled on the query list widget then Smartclient switches to advanced criteria mode. To prevent this I disabled forced the usage of the date range filtering.

The query list data source can't handle this, see the method here: QueryListDataSource.parseOptionalFilters

Note that imv this is not a defect, but a 'design defect' or a missing feature.

To solve this it would be much better if the query list widget would make use of the AdvancedQueryBuilder class which can handle advanced criteria. But this is some work....
(0052337)
AugustoMauch (administrator)
2012-09-24 12:55

Effort: 5
Impact: mid
Plan: mid

- Issue History
Date Modified Username Field Change
2012-05-10 10:13 malsasua New Issue
2012-05-10 10:13 malsasua Assigned To => alostale
2012-05-10 10:13 malsasua Web browser => Google Chrome
2012-05-10 10:13 malsasua Modules => Core
2012-05-10 10:50 alostale Relationship added related to 0020462
2012-05-10 10:52 alostale Assigned To alostale => migueldejuana
2012-05-10 17:33 migueldejuana Note Added: 0048560
2012-05-16 15:37 migueldejuana Web browser Google Chrome => Google Chrome
2012-05-16 15:37 migueldejuana Note Added: 0048702
2012-05-16 15:37 migueldejuana Type defect => design defect
2012-09-24 12:55 AugustoMauch Web browser Google Chrome => Google Chrome
2012-09-24 12:55 AugustoMauch Note Added: 0052337
2012-09-24 12:55 AugustoMauch Priority high => normal
2012-09-24 12:55 AugustoMauch Status new => scheduled


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker