Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031566 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2015-11-24 18:33 | 2015-11-30 10:46 | |||
Reporter | maite | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 71227823d930 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 39476 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031566: Error when closing window where view personalization and grid configuration are defined | |||||||
Description | Error when closing window where view personalization and grid configuration are defined | |||||||
Steps To Reproduce | 1. Ensure that instance is active 2. Access Producto window, filter by Active=Yes and save view as "active products" 3. Move Active column to be the first one of the grid 4. Close window 5. Access Product window again (NOT by clicking on Recent Views by searching it) and try to close window. Realize that tab is left blank and following javascript error is raised "Uncaught TypeError: Cannot read property 'dataPath' of null" NOTE: if you select any product record then you will be able to close the window | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0082415) caristu (viewer) 2015-11-27 11:11 |
This can be reproduced also when closing any tab having the focus on the filter of a yes/no field. |
(0082423) hgbot (developer) 2015-11-27 12:29 |
Repository: erp/devel/pi Changeset: 71227823d93070ee91799425511be0bd8a0de7b0 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Nov 27 12:19:15 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/71227823d93070ee91799425511be0bd8a0de7b0 [^] fixes issue 31566: Error when closing window having focus on a yes/no filter When closing the tab having the focus on a OBYesNoItem, the handleEditorExit() method of this class is executed, causing an unexpected javascript error on the getCriteriaFieldName() method, because is not possible to reference the form as it is being destroyed. It does not make sense to execute handleEditorExit() when closing (destroying) the window. So to avoid this execution we introduce a new flag for the items (isBeingDestroyed) to mark that they are being destroyed. Thus, it is used for OBYesNoItem to identify whether standard handleEditorExit() flow must be executed or not. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-yesno.js M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js --- |
(0082450) hudsonbot (viewer) 2015-11-28 15: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/a30fd74371da [^] Maturity status: Test |
(0082464) alostale (viewer) 2015-11-30 10:46 |
code reviewed + tested |
![]() |
|||
Date Modified | Username | Field | Change |
2015-11-24 18:33 | maite | New Issue | |
2015-11-24 18:33 | maite | Assigned To | => platform |
2015-11-24 18:33 | maite | OBNetwork customer | => Yes |
2015-11-24 18:33 | maite | Modules | => Core |
2015-11-24 18:33 | maite | Support ticket | => 39476 |
2015-11-24 18:33 | maite | Triggers an Emergency Pack | => No |
2015-11-24 18:33 | maite | Issue Monitored: networkb | |
2015-11-27 11:11 | caristu | Severity | minor => major |
2015-11-27 11:11 | caristu | Note Added: 0082415 | |
2015-11-27 11:11 | caristu | Assigned To | platform => caristu |
2015-11-27 11:11 | caristu | Status | new => scheduled |
2015-11-27 12:29 | caristu | Review Assigned To | => alostale |
2015-11-27 12:29 | caristu | Issue Monitored: alostale | |
2015-11-27 12:29 | hgbot | Checkin | |
2015-11-27 12:29 | hgbot | Note Added: 0082423 | |
2015-11-27 12:29 | hgbot | Status | scheduled => resolved |
2015-11-27 12:29 | hgbot | Resolution | open => fixed |
2015-11-27 12:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/71227823d93070ee91799425511be0bd8a0de7b0 [^] |
2015-11-28 15:24 | hudsonbot | Checkin | |
2015-11-28 15:24 | hudsonbot | Note Added: 0082450 | |
2015-11-30 10:46 | alostale | Note Added: 0082464 | |
2015-11-30 10:46 | alostale | Status | resolved => closed |
2015-11-30 10:46 | alostale | Fixed in Version | => 3.0PR16Q1 |
Copyright © 2000 - 2009 MantisBT Group |