Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032396 | Openbravo ERP | B. User interface | public | 2016-03-03 14:02 | 2016-03-17 10:56 |
|
Reporter | JONHM | |
Assigned To | inigosanchez | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q2 | Fixed in Version | 3.0PR16Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2015-05-18 |
Regression introduced in release | 3.0PR15Q3 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/2d6b8e5005b29bbca7ae4fd977ba6e18d8ac5201 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0032396: cannot filter grid when it is grouped by a column |
Description | We 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 Reproduce | 1) 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0032399 | 3.0PR16Q1 | closed | inigosanchez | cannot filter grid when it is grouped by a column | depends on | backport | 0032400 | 3.0PR15Q4.5 | closed | inigosanchez | cannot filter grid when it is grouped by a column | depends on | backport | 0032401 | 3.0PR15Q3.7 | closed | platform | cannot filter grid when it is grouped by a column | caused by | defect | 0029896 | | closed | AugustoMauch | double grid request when filtering grid after scrolling to 2nd page |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-03-03 14:02 | JONHM | New Issue | |
2016-03-03 14:02 | JONHM | Assigned To | => platform |
2016-03-03 14:02 | JONHM | Modules | => Core |
2016-03-03 14:02 | JONHM | Resolution time | => 1458601200 |
2016-03-03 14:02 | JONHM | Triggers an Emergency Pack | => No |
2016-03-03 17:20 | alostale | Note Added: 0084694 | |
2016-03-03 17:20 | alostale | Severity | major => minor |
2016-03-03 17:20 | alostale | Status | new => acknowledged |
2016-03-03 17:21 | alostale | Summary | Error filtering on "Multiphase Project" view while grouping by date => cannot filter grid when it is grouped by a column |
2016-03-03 17:21 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=11341#r11341 |
2016-03-03 17:22 | alostale | Regression level | => Production - Confirmed Stable |
2016-03-03 17:22 | alostale | Regression introduced in release | => 3.0PR15Q3 |
2016-03-03 17:22 | alostale | Priority | urgent => immediate |
2016-03-03 17:24 | alostale | Status | acknowledged => scheduled |
2016-03-03 17:25 | alostale | Assigned To | platform => inigosanchez |
2016-03-04 08:38 | inigosanchez | Regression date | => 2015-05-18 |
2016-03-04 08:38 | inigosanchez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/2d6b8e5005b29bbca7ae4fd977ba6e18d8ac5201 [^] |
2016-03-04 10:52 | alostale | Relationship added | caused by 0029896 |
2016-03-07 15:42 | inigosanchez | Issue Monitored: alostale | |
2016-03-07 15:43 | hgbot | Checkin | |
2016-03-07 15:43 | hgbot | Note Added: 0084779 | |
2016-03-07 15:43 | hgbot | Status | scheduled => resolved |
2016-03-07 15:43 | hgbot | Resolution | open => fixed |
2016-03-07 15:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/97035bb00ab31cb0d520dbb5edbe330450f5d69d [^] |
2016-03-07 15:44 | inigosanchez | Note Added: 0084780 | |
2016-03-07 15:44 | inigosanchez | Review Assigned To | => alostale |
2016-03-08 10:00 | alostale | Note Added: 0084808 | |
2016-03-08 10:00 | alostale | Status | resolved => closed |
2016-03-08 10:00 | alostale | Fixed in Version | => 3.0PR16Q2 |
2016-03-17 10:56 | hudsonbot | Checkin | |
2016-03-17 10:56 | hudsonbot | Note Added: 0085186 | |
Notes |
|
|
|
|
(0084779)
|
hgbot
|
2016-03-07 15:43
|
|
Repository: erp/devel/pi
Changeset: 97035bb00ab31cb0d520dbb5edbe330450f5d69d
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Mar 07 11:31:44 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/97035bb00ab31cb0d520dbb5edbe330450f5d69d [^]
Fixes issue 32396: 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
---
|
|
|
|
|
|
|
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 |
|
|
|
|