Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||
View Issue Details | |||||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||
0035944 | Openbravo ERP | A. Platform | public | 2017-05-08 15:26 | 2017-09-21 16:49 | ||||||||||||||||||||||||
Reporter | alostale | ||||||||||||||||||||||||||||
Assigned To | caristu | ||||||||||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | have not tried | ||||||||||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||
Product Version | |||||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q4 | |||||||||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||||||||||
Review Assigned To | alostale | ||||||||||||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||||||||||||
Web browser | |||||||||||||||||||||||||||||
Modules | Core | ||||||||||||||||||||||||||||
Support ticket | |||||||||||||||||||||||||||||
Regression level | |||||||||||||||||||||||||||||
Regression date | |||||||||||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||
Summary | 0035944: unresponsive ui after uncaught error in EntityPersistenceEventObserver | ||||||||||||||||||||||||||||
Description | When an EntityPersistenceEventObserver fails with an uncaught error (ie. NPE), the UI becomes unresponsive after saving: * No error message is displayed to user * Save button is disabled not being possible to save after fixing wrong data | ||||||||||||||||||||||||||||
Steps To Reproduce | 1. Emulate a NPE in a EntityPersistenceEventObserver by applying attached patch 2. Login 3. Open BP window 4. Select any record and change any value 5. Save: -> ERRORS: * No error is displayed though save was unsuccessful. * Cannot click on save as it is disabled. This stack trace appears in dev tools: Uncaught TypeError: Cannot read property 'data' of undefined at cons.setErrorMessageFromResponse (34d5119….js:24442) at cons.callback [as _userCallback] (34d5119….js:30543) at cons.fireCallback (Class.js:1789) at cons.fireCallback (Class.js:3488) at cons.formSavedComplete (ActionMethods.js:1132) | ||||||||||||||||||||||||||||
Proposed Solution | |||||||||||||||||||||||||||||
Additional Information | |||||||||||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||||||||||
Relationships |
| ||||||||||||||||||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10732&type=bug | ||||||||||||||||||||||||||||
Issue History | |||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||||||||||
2017-05-08 15:26 | alostale | New Issue | |||||||||||||||||||||||||||
2017-05-08 15:26 | alostale | Assigned To | => platform | ||||||||||||||||||||||||||
2017-05-08 15:26 | alostale | OBNetwork customer | => No | ||||||||||||||||||||||||||
2017-05-08 15:26 | alostale | Modules | => Core | ||||||||||||||||||||||||||
2017-05-08 15:26 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||
2017-05-08 15:27 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15128#r15128 | ||||||||||||||||||||||||||
2017-05-08 15:27 | alostale | Relationship added | related to 0035943 | ||||||||||||||||||||||||||
2017-05-08 15:28 | alostale | Relationship added | related to 0035840 | ||||||||||||||||||||||||||
2017-05-08 15:29 | alostale | File Added: force-npe.diff | |||||||||||||||||||||||||||
2017-05-22 11:03 | alostale | Status | new => acknowledged | ||||||||||||||||||||||||||
2017-08-11 11:07 | alostale | Relationship added | related to 0036611 | ||||||||||||||||||||||||||
2017-09-06 09:54 | caristu | Assigned To | platform => caristu | ||||||||||||||||||||||||||
2017-09-06 11:12 | hgbot | Checkin | |||||||||||||||||||||||||||
2017-09-06 11:12 | hgbot | Note Added: 0098860 | |||||||||||||||||||||||||||
2017-09-06 11:12 | hgbot | Status | acknowledged => resolved | ||||||||||||||||||||||||||
2017-09-06 11:12 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||
2017-09-06 11:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1ce8df93a3fb4644a8f4351f898166cbf3055abb [^] | ||||||||||||||||||||||||||
2017-09-06 11:12 | caristu | Review Assigned To | => alostale | ||||||||||||||||||||||||||
2017-09-08 13:47 | alostale | Note Added: 0098913 | |||||||||||||||||||||||||||
2017-09-08 13:47 | alostale | Status | resolved => closed | ||||||||||||||||||||||||||
2017-09-08 13:47 | alostale | Fixed in Version | => 3.0PR17Q4 | ||||||||||||||||||||||||||
2017-09-21 16:49 | hudsonbot | Checkin | |||||||||||||||||||||||||||
2017-09-21 16:49 | hudsonbot | Note Added: 0099364 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|