Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037181 | Openbravo ERP | A. Platform | public | 2017-10-27 13:39 | 2018-01-03 12:38 |
|
Reporter | JONHM | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q1 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 49188 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037181: Wrong behavior when filtering in tree grid view and pressing 'Enter' key to confirm the filter |
Description | The record disappears on the grid tree view when applying a filter in a drop down and pressing the 'Enter' key to confirm.
The issue can be also reproduced when saving this view as default. In this case, the previously saved filter is not shown on the field. |
Steps To Reproduce | 1) Open "Organization" window and switch to 'tree grid view' (press the button on the toolbar)
2) Filter by 'Organization Type' and set the text as "organization". Then press 'Enter' key (do not press any other key)
3) Save that view and set it as default
-> You can see the obtained record disappearing when clicking with the mouse to save the view
4) Close that window and reopen it (in order to load the previously saved view).
5) Now set the filter as 'Legal with accounting' on 'Organization Type' column.
-> It shows the message 'The applied filter resulted in 0 results' and the filter is automatically set with this text '~organization and 1'
Note: the issue can be only reproduced if you press 'Enter' key when setting the filter, and using columns of 'drop down' type. See the attached video for more information. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0025935 | | closed | AugustoMauch | JS Error when opening TreeGrid selector | related to | defect | 0037255 | | closed | caristu | Wrong behavior when filtering in tree grid view of a child tab and pressing 'Enter' key to confirm the filter |
|
Attached Files | treeGridView.mp4 (1,868,181) 2017-10-30 18:28 https://issues.openbravo.com/file_download.php?file_id=11253&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2017-10-27 13:39 | JONHM | New Issue | |
2017-10-27 13:39 | JONHM | Assigned To | => platform |
2017-10-27 13:39 | JONHM | File Added: treeGridView.mp4 | |
2017-10-27 13:39 | JONHM | OBNetwork customer | => Yes |
2017-10-27 13:39 | JONHM | Modules | => Core |
2017-10-27 13:39 | JONHM | Support ticket | => 49188 |
2017-10-27 13:39 | JONHM | Resolution time | => 1510873200 |
2017-10-27 13:39 | JONHM | Triggers an Emergency Pack | => No |
2017-10-30 18:14 | JONHM | Resolution time | 1510873200 => |
2017-10-30 18:14 | JONHM | Severity | major => minor |
2017-10-30 18:14 | JONHM | Summary | Wrong behavior when filtering in tree grid view => Wrong behavior when filtering in tree grid view and pressing 'Enter' key |
2017-10-30 18:14 | JONHM | Description Updated | bug_revision_view_page.php?rev_id=16201#r16201 |
2017-10-30 18:14 | JONHM | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16203#r16203 |
2017-10-30 18:14 | JONHM | File Deleted: treeGridView.mp4 | |
2017-10-30 18:15 | JONHM | File Added: treeGridView.mp4 | |
2017-10-30 18:18 | JONHM | Summary | Wrong behavior when filtering in tree grid view and pressing 'Enter' key => Wrong behavior when filtering in tree grid view and pressing 'Enter' key to confirm the filter |
2017-10-30 18:28 | JONHM | File Deleted: treeGridView.mp4 | |
2017-10-30 18:28 | JONHM | File Added: treeGridView.mp4 | |
2017-10-30 19:01 | caristu | Assigned To | platform => caristu |
2017-10-30 19:01 | caristu | Status | new => acknowledged |
2017-10-30 19:01 | caristu | Status | acknowledged => scheduled |
2017-10-30 19:01 | caristu | Relationship added | related to 0022098 |
2017-10-31 12:21 | hgbot | Checkin | |
2017-10-31 12:21 | hgbot | Note Added: 0100189 | |
2017-10-31 12:21 | hgbot | Status | scheduled => resolved |
2017-10-31 12:21 | hgbot | Resolution | open => fixed |
2017-10-31 12:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/988d61d0fb777f8cebcaea555f99d184f9262381 [^] |
2017-10-31 12:22 | caristu | Review Assigned To | => alostale |
2017-10-31 12:33 | hgbot | Checkin | |
2017-10-31 12:33 | hgbot | Note Added: 0100190 | |
2017-10-31 12:34 | caristu | Relationship deleted | related to 0022098 |
2017-10-31 12:35 | caristu | Relationship added | related to 0025935 |
2017-11-03 09:08 | alostale | Note Added: 0100237 | |
2017-11-03 09:08 | alostale | Status | resolved => closed |
2017-11-03 09:08 | alostale | Fixed in Version | => 3.0PR18Q1 |
2017-11-08 08:45 | caristu | Issue cloned | 0037255 |
2017-11-08 08:47 | caristu | Relationship added | related to 0037255 |
2018-01-03 12:38 | hudsonbot | Checkin | |
2018-01-03 12:38 | hudsonbot | Note Added: 0101364 | |
2018-01-03 12:38 | hudsonbot | Checkin | |
2018-01-03 12:38 | hudsonbot | Note Added: 0101365 | |
Notes |
|
(0100189)
|
hgbot
|
2017-10-31 12:21
|
|
Repository: erp/devel/pi
Changeset: 988d61d0fb777f8cebcaea555f99d184f9262381
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Oct 31 11:34:30 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/988d61d0fb777f8cebcaea555f99d184f9262381 [^]
fixes bug 37181: Tree is closed after pressing 'Enter' key to filter
The opened nodes are reset after submitting a new filter. The problem here was that they were being reset on every filter submit. Thus, when the criteria did not change between two filter requests, the tree nodes were closed but never reopened as the filtering was not being applied.
Now this problem has been solved by resetting the opened nodes just when the filter criteria of the tree grid indeed changes.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
---
|
|
|
(0100190)
|
hgbot
|
2017-10-31 12:33
|
|
|
|
|
|
|
|
|
|
|
|