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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032400
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] B. User interfaceminoralways2016-03-03 14:022016-03-08 10:00
ReporterJONHMView Statuspublic 
Assigned Toinigosanchez 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q4.5
StatusclosedFix in branchFixed in SCM revision43ba3022b41f
ProjectionnoneETAnoneTarget Version3.0PR15Q4.5
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release3.0PR15Q3
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032400: cannot filter grid when it is grouped by a column

DescriptionWe cannot filter results after grouping by date in Multiphase Project view. We got some error on Chrome's debugging window:
"Uncaught TypeError: this.data.willFetchData is not a function"
"isc.OBViewGrid.addProperties.handleFilterEditorSubmit"
Steps To Reproduce1) Enter some data with dates in "Multiphase Project" view
2) Group by date column
3) Filter by some column (for example, name)

The filter doesn't work

This is reproducible for any window
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00323963.0PR16Q2 closedinigosanchez cannot filter grid when it is grouped by a column 

-  Notes
(0084783)
hgbot (developer)
2016-03-07 15:51

Repository: erp/backports/3.0PR15Q4.5
Changeset: 43ba3022b41f5b9dc0526b1c9e8edb2c1e9e4d7d
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Mar 07 15:51:16 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.5/rev/43ba3022b41f5b9dc0526b1c9e8edb2c1e9e4d7d [^]

Fixes issue 32400: cannot filter grid when it is grouped by a column.

Having a column grouped, if a filter was applied in a grid, it was not
possible to apply it.A js error was thrown:
Uncaught TypeError: this.data.willFetchData is not a function.

The problem was in:"this.data.willFetchData(....))" statement which
incorrectly assumed this.data to be an object and willFetchData a function
within it. This is not true when in this situation where this.data is a
Tree class.

It has been fixed by taking into account this case by checking that "this.data" defines the
function.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0084810)
alostale (manager)
2016-03-08 10:00

code reviewed

tested:
* grouping by different fields (date, numeric, FK) filters work in grouped column as well as in other ones
* related issues (0029896 and 0031187) are still not reproducible

- Issue History
Date Modified Username Field Change
2016-03-03 17:24 alostale Type defect => backport
2016-03-03 17:24 alostale Target Version 3.0PR16Q2 => 3.0PR15Q4.5
2016-03-07 15:49 inigosanchez Issue Monitored: alostale
2016-03-07 15:51 hgbot Checkin
2016-03-07 15:51 hgbot Note Added: 0084783
2016-03-07 15:51 hgbot Status scheduled => resolved
2016-03-07 15:51 hgbot Resolution open => fixed
2016-03-07 15:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q4.5/rev/43ba3022b41f5b9dc0526b1c9e8edb2c1e9e4d7d [^]
2016-03-07 15:52 inigosanchez Review Assigned To => alostale
2016-03-08 09:53 alostale Assigned To platform => inigosanchez
2016-03-08 10:00 alostale Note Added: 0084810
2016-03-08 10:00 alostale Status resolved => closed
2016-03-08 10:00 alostale Fixed in Version => 3.0PR15Q4.5


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker