Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033412 | Openbravo ERP | A. Platform | public | 2016-07-01 14:31 | 2016-08-23 15:57 | |||||||
Reporter | JONHM | |||||||||||
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.0PR16Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
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 | 0033412: error in tree sub tab when creating record in its header | |||||||||||
Description | The console shows an error by having some window with a tab defined in tree grid view. In some cases this error causes wrong data visualization in form view. | |||||||||||
Steps To Reproduce | 1) Open window "account tree" 2) Select some record 3) Then select an element value and put it in tree grid view (press button toogle tree grid visibility) 4) Create a new record into header tab The chrome console shows an error: ISC_Combined.js:1410 Uncaught TypeError: Cannot read property 'id' of undefined | |||||||||||
Proposed Solution | Into file: https://code.openbravo.com/erp/devel/pi/file/cfff3c184b53/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js#l210 [^] - getParentTabRecordId: function () { - if (!this.view.parentView) { - return null; - } - return this.view.parentView.viewGrid.getSelectedRecord().id; - }, + getParentTabRecordId: function () { + if (!this.view.parentView) { + return null; + } + if (this.view.parentView.viewGrid.getSelectedRecord()) + return this.view.parentView.viewGrid.getSelectedRecord().id; + else + return null; + }, | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-07-01 14:31 | JONHM | New Issue | ||||||||||
2016-07-01 14:31 | JONHM | Assigned To | => platform | |||||||||
2016-07-01 14:31 | JONHM | Modules | => Core | |||||||||
2016-07-01 14:31 | JONHM | Triggers an Emergency Pack | => No | |||||||||
2016-07-14 12:13 | alostale | Summary | Error caused by having some window with a tab defined in tree grid view => error in tree sub tab when creating record in its header | |||||||||
2016-07-14 12:13 | alostale | Assigned To | platform => alostale | |||||||||
2016-07-14 12:13 | alostale | Review Assigned To | => caristu | |||||||||
2016-07-14 12:17 | hgbot | Checkin | ||||||||||
2016-07-14 12:17 | hgbot | Note Added: 0088476 | ||||||||||
2016-07-14 12:17 | hgbot | Status | new => resolved | |||||||||
2016-07-14 12:17 | hgbot | Resolution | open => fixed | |||||||||
2016-07-14 12:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/05fe133ffcf71819bec9dc63844d8b512a6b1425 [^] | |||||||||
2016-07-20 16:32 | caristu | Note Added: 0088605 | ||||||||||
2016-07-20 16:32 | caristu | Status | resolved => new | |||||||||
2016-07-20 16:32 | caristu | Resolution | fixed => open | |||||||||
2016-07-20 16:32 | caristu | Note Edited: 0088605 | bug_revision_view_page.php?bugnote_id=0088605#r12712 | |||||||||
2016-08-11 18:40 | hudsonbot | Checkin | ||||||||||
2016-08-11 18:40 | hudsonbot | Note Added: 0089012 | ||||||||||
2016-08-22 11:46 | caristu | Assigned To | alostale => caristu | |||||||||
2016-08-22 14:00 | caristu | Status | new => scheduled | |||||||||
2016-08-22 14:01 | hgbot | Checkin | ||||||||||
2016-08-22 14:01 | hgbot | Note Added: 0089279 | ||||||||||
2016-08-22 14:02 | caristu | Status | scheduled => resolved | |||||||||
2016-08-22 14:02 | caristu | Resolution | open => fixed | |||||||||
2016-08-22 14:03 | caristu | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/05fe133ffcf71819bec9dc63844d8b512a6b1425 [^] => http://code.openbravo.com/erp/devel/pi/rev/1fd172f8c1c8cf31c8164bc5c65e7a6939922b8b [^] | |||||||||
2016-08-22 14:03 | caristu | Review Assigned To | caristu => AugustoMauch | |||||||||
2016-08-22 14:03 | caristu | Issue Monitored: AugustoMauch | ||||||||||
2016-08-22 14:05 | caristu | Relationship added | related to 0031856 | |||||||||
2016-08-23 14:26 | hudsonbot | Checkin | ||||||||||
2016-08-23 14:26 | hudsonbot | Note Added: 0089299 | ||||||||||
2016-08-23 15:57 | AugustoMauch | Note Added: 0089310 | ||||||||||
2016-08-23 15:57 | AugustoMauch | Status | resolved => closed | |||||||||
2016-08-23 15:57 | AugustoMauch | Fixed in Version | => 3.0PR16Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|