Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026308 | Openbravo ERP | 00. Application dictionary | public | 2014-04-16 14:43 | 2014-05-07 18:12 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | immediate | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q2 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Coding ( Testing ) |
Regression date | 2014-03-05 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/1ea574e6513c [^] |
Triggers an Emergency Pack | No |
|
Summary | 0026308: Product Characteristics tree is not working in the Product Charactecteristics window |
Description | When the tree grid view is displayed in the Value field of the Product Characteristic window, an error is shown in the console and the loading message is not hidden. |
Steps To Reproduce | - Open the Product Characteristic window
- Create a Product Characteristic
- Move to the Value tab
- Create a Value
- Open the tree grid view
- See that the value is not shown, that the loading message is not hidden and that there is an error in the console |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0026340 | RR14Q2 | closed | AugustoMauch | Retail Modules | [RR14Q2] "Tree" icon in product characteristic does not work |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-04-16 14:43 | AugustoMauch | New Issue | |
2014-04-16 14:43 | AugustoMauch | Assigned To | => AugustoMauch |
2014-04-16 14:43 | AugustoMauch | Modules | => Core |
2014-04-16 14:43 | AugustoMauch | OBNetwork customer | => No |
2014-04-16 14:43 | AugustoMauch | Triggers an Emergency Pack | => No |
2014-04-16 15:01 | AugustoMauch | Regression level | => Coding ( Testing ) |
2014-04-16 15:01 | AugustoMauch | Regression date | => 2014-03-05 |
2014-04-16 15:01 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/1ea574e6513c [^] |
2014-04-16 15:11 | AugustoMauch | Issue Monitored: alostale | |
2014-04-16 15:12 | AugustoMauch | Review Assigned To | => alostale |
2014-04-16 15:18 | hgbot | Checkin | |
2014-04-16 15:18 | hgbot | Note Added: 0066500 | |
2014-04-16 15:18 | hgbot | Status | new => resolved |
2014-04-16 15:18 | hgbot | Resolution | open => fixed |
2014-04-16 15:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d67ab4f96f4d1fa9d64bd81637796354139bbb70 [^] |
2014-04-16 15:21 | AugustoMauch | Note Added: 0066502 | |
2014-04-16 15:24 | AugustoMauch | Note Added: 0066503 | |
2014-04-23 09:34 | alostale | Note Added: 0066547 | |
2014-04-23 09:34 | alostale | Status | resolved => closed |
2014-04-23 09:34 | alostale | Fixed in Version | => PR14Q2 |
2014-04-23 09:39 | AugustoMauch | Relationship added | has duplicate 0026340 |
2014-04-24 13:47 | AugustoMauch | Note Added: 0066577 | |
2014-04-24 13:47 | AugustoMauch | Status | closed => new |
2014-04-24 13:47 | AugustoMauch | Resolution | fixed => open |
2014-04-24 13:47 | AugustoMauch | Fixed in Version | PR14Q2 => |
2014-04-24 14:04 | hgbot | Checkin | |
2014-04-24 14:04 | hgbot | Note Added: 0066581 | |
2014-04-24 14:04 | hgbot | Status | new => resolved |
2014-04-24 14:04 | hgbot | Resolution | open => fixed |
2014-04-24 14:04 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/d67ab4f96f4d1fa9d64bd81637796354139bbb70 [^] => http://code.openbravo.com/erp/devel/pi/rev/49791985066fc9fa89c5270a213ea0f90138e265 [^] |
2014-04-24 14:36 | alostale | Status | resolved => closed |
2014-05-07 18:11 | hudsonbot | Checkin | |
2014-05-07 18:11 | hudsonbot | Note Added: 0066945 | |
2014-05-07 18:12 | hudsonbot | Checkin | |
2014-05-07 18:12 | hudsonbot | Note Added: 0066969 | |
Notes |
|
(0066500)
|
hgbot
|
2014-04-16 15:18
|
|
Repository: erp/devel/pi
Changeset: d67ab4f96f4d1fa9d64bd81637796354139bbb70
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 16 15:11:44 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d67ab4f96f4d1fa9d64bd81637796354139bbb70 [^]
Fixes issue 26308: Product Characteristics tree is not working properly
The problem was that the Product Characteristics TreeType ('CH') had been added to the wrong table. It should have been added to the table used in the Value subtab of the Product Characteristic window, but it had been added to the header tab.
---
M src-db/database/sourcedata/AD_TABLE.xml
---
|
|
|
|
The UpdateADTrees modulescript uses the table treetype to set the ad_table_id column of the ad_trees. The M_CH_VALUE table did not have a treetype, so the ad_table_id field of its tree was not being updated with the table id.
The tree datasource fetches the trees from AD_Tree using the ad_table_id. This column was not set for the Product Characteristic Value tree, so the datasource was not able to find the tree. |
|
|
|
This change does not affect the tree shown in the filter of the columns that use the Product Characteristics reference. |
|
|
|
|
|
|
Reopened because it still can be reproduced.
The Product Characteristics tree is not included in the sourcedata, it is created when the first Product Characteristic is added.
The previous fix only worked if the tree was already created, but it did not work in instances that did not have yet any product characteristics defined. |
|
|
(0066581)
|
hgbot
|
2014-04-24 14:04
|
|
Repository: erp/devel/pi
Changeset: 49791985066fc9fa89c5270a213ea0f90138e265
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Apr 24 14:03:37 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/49791985066fc9fa89c5270a213ea0f90138e265 [^]
Fixes issue 26308: Product Characteristics tree is not working properly
The previous fix worked only if the product characteristic tree was already created.
The product characteristic tree is created when the first product characteristic is defined. The tree was being created without ad_table_id, and this column was not being set properly until the modulescripts are executed.
This has been fixed by providing the proper ad_table_id in the tree creation.
---
M src-db/database/model/triggers/M_CHARACTERISTIC_TRG.xml
---
|
|
|
|
|
|
|
|