Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0042270 | Openbravo ERP | A. Platform | public | 2019-11-13 18:28 | 2019-12-12 23:01 | |||||||
Reporter | caristu | |||||||||||
Assigned To | caristu | |||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR20Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0042270: Grid not properly initialized due to missing window personalization information | |||||||||||
Description | The grids of an standard window can not be initialized properly having view personalizations: if the default view personalization is not provided by the WindowSettingsActionHandler and there exists one or more view personalizations then the following JS error is thrown when trying to save a record: Class.js:1796 Uncaught TypeError: Cannot read property 'length' of undefined at cons.addToCacheData (b695962a877b1a59ae4c48580e07e5f7.js:47135) at cons.callback [as _userCallback] (b695962a877b1a59ae4c48580e07e5f7.js:42783) at cons.fireCallback (Class.js:1789) at cons.fireCallback (Class.js:3488) at cons.formSavedComplete (ActionMethods.js:1132) at cons._saveDataReply (ActionMethods.js:1102) at cons.eval (eval at isc__makeFunction (Object.js:129), <anonymous>:1:18) at cons.fireCallback (Class.js:1789) at cons.fireCallback (Class.js:3488) at cons.fireResponseCallbacks (DataSource.js:13641) | |||||||||||
Steps To Reproduce | 1) Go to the [Purchase Order] window and create a new saved view. Set it as default. 2) Go to the database and perform a manual delete of the window personalization created in step 1: delete from obuiapp_uipersonalization where obuiapp_uipersonalization_id =<uuid>. This lead us to an state where the default save view is still defined in the application (through the "Default View Setting" preference) but the window personalization definition is not present. 3) Log out/log in 4) Go to the [Purchase Order] window and create a new saved view. Do NOT set it as default. 5) Log out/log in 6) Go to the [Purchase Order] and try to create a new record. The JS error is thrown which avoids to save the record. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-11-13 18:28 | caristu | New Issue | ||||||||||
2019-11-13 18:28 | caristu | Assigned To | => platform | |||||||||
2019-11-13 18:28 | caristu | Modules | => Core | |||||||||
2019-11-13 18:28 | caristu | Triggers an Emergency Pack | => No | |||||||||
2019-11-13 18:28 | caristu | Relationship added | related to 0028242 | |||||||||
2019-11-13 18:34 | caristu | Assigned To | platform => caristu | |||||||||
2019-11-13 18:36 | caristu | Review Assigned To | => alostale | |||||||||
2019-11-13 19:30 | hgbot | Checkin | ||||||||||
2019-11-13 19:30 | hgbot | Note Added: 0115591 | ||||||||||
2019-11-13 19:30 | hgbot | Status | new => resolved | |||||||||
2019-11-13 19:30 | hgbot | Resolution | open => fixed | |||||||||
2019-11-13 19:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0a493e062362c9d16b14311e5c0ede6228f95308 [^] | |||||||||
2019-11-13 19:31 | caristu | Summary | Window generated in inconsistent state due to missing window personalization information => Window grids not properly initialized due to missing window personalization information | |||||||||
2019-11-13 19:31 | caristu | Description Updated | bug_revision_view_page.php?rev_id=19692#r19692 | |||||||||
2019-11-13 19:31 | caristu | Summary | Window grids not properly initialized due to missing window personalization information => grid not properly initialized due to missing window personalization information | |||||||||
2019-11-13 19:32 | caristu | Summary | grid not properly initialized due to missing window personalization information => Grid not properly initialized due to missing window personalization information | |||||||||
2019-11-13 19:32 | caristu | Description Updated | bug_revision_view_page.php?rev_id=19693#r19693 | |||||||||
2019-11-14 08:36 | rafaroda | Issue Monitored: rafaroda | ||||||||||
2019-11-15 09:21 | alostale | Status | resolved => closed | |||||||||
2019-11-15 09:21 | alostale | Fixed in Version | => 3.0PR20Q1 | |||||||||
2019-11-15 09:21 | alostale | Note Added: 0115618 | ||||||||||
2019-12-12 23:01 | hudsonbot | Checkin | ||||||||||
2019-12-12 23:01 | hudsonbot | Note Added: 0116283 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|