Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038555 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-05-16 08:32 | 2018-05-18 09:07 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e8f606ccb519 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038555: JS Error after opening a window under some circumstances | |||||||
Description | A JS Error is thrown after opening a window having: - Lazy filtering enabled - A deleted saved view that contained at least one summary function The error retrieved in this case: Uncaught TypeError: Cannot read property 'hide' of undefined | |||||||
Steps To Reproduce | In an environment with the instance activated and no modules in "in development" status. As System Administrator 0) Go to the Grid Configuration at System Level window and create a new record, enabling the lazy filtering. As Group Admin 1) Open the Sales Order window 2) Navigate to the lines tab and add a summary function to the UOM field 3) Show the "Creation Date" field in the grid and move it to a new position in the grid 4) Save the view and mark it as default 5) Close the window and open it again 6) Delete the newly created view, do not set the default view. 7) Close the window and open it again. The error is thrown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0104538) hgbot (developer) 2018-05-16 09:03 |
Repository: erp/devel/pi Changeset: e8f606ccb519eba2eab37f4cdaa25e1fa6e92c56 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Wed May 16 08:54:42 2018 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e8f606ccb519eba2eab37f4cdaa25e1fa6e92c56 [^] fixes issue 38555: JS Error after opening a window under some circumstances When opening a window having the lazy filtering enabled, the funnel icon is hidden automatically. But when opening a window with some particular configuration it is possible to reach the code that hides the funnel icon without having it initialized yet. In this case a JS error was thrown avoiding the correct loading of the window. To fix the problem we just check whether the funnel icon has been initialized before trying to hide it. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js --- |
(0104540) hudsonbot (developer) 2018-05-16 13:24 |
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/46253db4f9d3 [^] Maturity status: Test |
(0104587) alostale (manager) 2018-05-18 09:07 |
reviewed + tested |
Issue History | |||
Date Modified | Username | Field | Change |
2018-05-16 08:32 | caristu | New Issue | |
2018-05-16 08:32 | caristu | Assigned To | => platform |
2018-05-16 08:32 | caristu | Modules | => Core |
2018-05-16 08:32 | caristu | Triggers an Emergency Pack | => No |
2018-05-16 08:38 | caristu | Assigned To | platform => caristu |
2018-05-16 08:38 | caristu | Steps to Reproduce Updated | View Revisions |
2018-05-16 08:42 | caristu | Steps to Reproduce Updated | View Revisions |
2018-05-16 08:52 | caristu | Relationship added | related to 0028281 |
2018-05-16 08:53 | caristu | Relationship deleted | related to 0028281 |
2018-05-16 08:53 | caristu | Relationship added | caused by 0028281 |
2018-05-16 09:03 | hgbot | Checkin | |
2018-05-16 09:03 | hgbot | Note Added: 0104538 | |
2018-05-16 09:03 | hgbot | Status | new => resolved |
2018-05-16 09:03 | hgbot | Resolution | open => fixed |
2018-05-16 09:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e8f606ccb519eba2eab37f4cdaa25e1fa6e92c56 [^] |
2018-05-16 09:03 | caristu | Review Assigned To | => alostale |
2018-05-16 13:24 | hudsonbot | Checkin | |
2018-05-16 13:24 | hudsonbot | Note Added: 0104540 | |
2018-05-18 09:07 | alostale | Note Added: 0104587 | |
2018-05-18 09:07 | alostale | Status | resolved => closed |
2018-05-18 09:07 | alostale | Fixed in Version | => 3.0PR18Q3 |
Copyright © 2000 - 2009 MantisBT Group |