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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025633
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2014-02-03 09:202014-02-12 18:29
ReportercaristuView Statuspublic 
Assigned ToAugustoMauch 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revision605075795401
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Todbaz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025633: Grid configuration don't behave correctly on fields that have a filter drop-down

DescriptionAfter setting a iStartsWith default filter on a tab, if we use another filter expression on a field that has a filter drop-down and after that we select a record, the filter automatically gets converted to the default filter and the filtered results disappear.
Steps To Reproduce1) As system administrator, go to [Grid Configuration at Window/Tab/Field Level] and configure the header of the [Sales Invoice] window to use the iStartsWith filter as default filter.
2) As group admin role, navigate to the [Sales Invoice] window
3) Use a "contains" filter criteria on the "Organization" field. For example, ~Norte. It works fine.
4) Select one of the filtered records. The results disappear and the filter criteria has been replaced with ^Norte (startsWith)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0063856)
hgbot (developer)
2014-02-03 12:38

Repository: erp/devel/pi
Changeset: 6050757954012956c037f67a27d4fc5f1b1867e8
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Feb 03 12:38:14 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6050757954012956c037f67a27d4fc5f1b1867e8 [^]

Fixes issue 25633: Symbol of default operator is not shown

The problem was that even though the operator of the column was iStartsWith this.getOperator() returned iContains. That meant the iContains was considered the
default operator. The default operator symbol is not shown in the filter, that is why the '~' (iContains symbol) was removed after filtering. Then, if the grid
 was filtered again there was no explicit operator, so the operator defined in the grid configuration was used.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
(0063904)
dbaz (developer)
2014-02-04 20:29

Reviewed @ changeset: 21915 - 5915bbb61611
(0064148)
hudsonbot (developer)
2014-02-12 18:29

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/d1a5bb862230 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-02-03 09:20 caristu New Issue
2014-02-03 09:20 caristu Assigned To => AugustoMauch
2014-02-03 09:20 caristu Modules => Core
2014-02-03 09:20 caristu Triggers an Emergency Pack => No
2014-02-03 09:20 caristu Issue Monitored: networkb
2014-02-03 09:20 caristu version => pi
2014-02-03 12:37 AugustoMauch Issue Monitored: dbaz
2014-02-03 12:37 AugustoMauch Review Assigned To => dbaz
2014-02-03 12:38 hgbot Checkin
2014-02-03 12:38 hgbot Note Added: 0063856
2014-02-03 12:38 hgbot Status new => resolved
2014-02-03 12:38 hgbot Resolution open => fixed
2014-02-03 12:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6050757954012956c037f67a27d4fc5f1b1867e8 [^]
2014-02-04 20:29 dbaz Note Added: 0063904
2014-02-04 20:29 dbaz Status resolved => closed
2014-02-04 20:29 dbaz Fixed in Version => 3.0MP32
2014-02-12 18:29 hudsonbot Checkin
2014-02-12 18:29 hudsonbot Note Added: 0064148


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker