Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027930 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | have not tried | 2014-10-21 13:05 | 2014-12-30 23:23 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8a23d66e2f6b | ||||
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 | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Automated tests | |||||||
Regression date | 2014-10-21 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/203b797e4189534f4b1dfca962588e3d6013ab62 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027930: Changeset has broken the int-inc-pgsql and int-inc-oracle tests | |||||||
Description | This changeset [1], in particular this part [2], has broken the integration. This is happening due to this known design defect [3]. The following error is thrown when updating the application dictionary data: ERROR: duplicate key value violates unique constraint "ad_table_treetype_un" [1] https://code.openbravo.com/erp/devel/pi/rev/203b797e4189534f4b1dfca962588e3d6013ab62 [^] [2] https://code.openbravo.com/erp/devel/pi/diff/203b797e4189/src-db/database/sourcedata/AD_TABLE.xml [^] [3] https://issues.openbravo.com/view.php?id=12577 [^] | |||||||
Steps To Reproduce | See [1] and [2]. [1] http://ci.openbravo.com/job/int-inc-pgsql/1116/ [^] [2] http://ci.openbravo.com/job/int-inc-oracle/1113/ [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0071084) hgbot (developer) 2014-10-21 13:10 |
Repository: erp/devel/pi Changeset: 8a23d66e2f6b9734c14076e86094cc527ac1044c Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Tue Oct 21 13:09:51 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/8a23d66e2f6b9734c14076e86094cc527ac1044c [^] Fixes issue 27918, fixes issue 27930. Prevents breaking the int-inc tests The problem was that due to this design defect [1], the oracle and postgres int-inc tests were failing. This is because a value 'AR' was being set to the treetype of a table and then being set to null in other table whose treetype was also 'AR'. Treetype has a unique constraint that was enabled when the application data was updated, so the constraint failed. To prevent this error, the treetype of the second table is going to be set to null in a modulescript, that is executed before updating the application data. [1] https://issues.openbravo.com/view.php?id=12577 [^] --- M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateADTrees.class M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateADTreesData.class M src-util/modulescript/src/org/openbravo/modulescript/UpdateADTrees.java M src-util/modulescript/src/org/openbravo/modulescript/UpdateADTrees_Data.xsql --- |
(0071090) AugustoMauch (administrator) 2014-10-21 14:02 |
The tests are no longer broken |
(0072959) hudsonbot (viewer) 2014-12-30 23:23 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-10-21 13:05 | AugustoMauch | New Issue | |
2014-10-21 13:05 | AugustoMauch | Assigned To | => AugustoMauch |
2014-10-21 13:05 | AugustoMauch | OBNetwork customer | => No |
2014-10-21 13:05 | AugustoMauch | Modules | => Core |
2014-10-21 13:05 | AugustoMauch | Regression level | => Automated tests |
2014-10-21 13:05 | AugustoMauch | Regression date | => 2014-10-21 |
2014-10-21 13:05 | AugustoMauch | Regression introduced in release | => pi |
2014-10-21 13:05 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/203b797e4189534f4b1dfca962588e3d6013ab62 [^] |
2014-10-21 13:05 | AugustoMauch | Triggers an Emergency Pack | => No |
2014-10-21 13:06 | AugustoMauch | Relationship added | caused by 0027918 |
2014-10-21 13:10 | hgbot | Checkin | |
2014-10-21 13:10 | hgbot | Note Added: 0071084 | |
2014-10-21 13:10 | hgbot | Status | new => resolved |
2014-10-21 13:10 | hgbot | Resolution | open => fixed |
2014-10-21 13:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8a23d66e2f6b9734c14076e86094cc527ac1044c [^] |
2014-10-21 14:02 | AugustoMauch | Note Added: 0071090 | |
2014-10-21 14:02 | AugustoMauch | Status | resolved => closed |
2014-10-21 14:02 | AugustoMauch | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:23 | hudsonbot | Checkin | |
2014-12-30 23:23 | hudsonbot | Note Added: 0072959 |
Copyright © 2000 - 2009 MantisBT Group |