Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012529Openbravo ERPA. Platformpublic2010-03-02 17:582010-03-12 22:40
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
pi 
2.50MP14 
Core
No
0012529: The order of the column names of the error message of a unique constraint violation is not stable.
Noticed by the following junit test failure:

http://builds.openbravo.com/job/erp_devel_pi-full-oracle/807/console [^]

expected:<...tion with the same ([Month, Language). (Month, Language]) must be unique. Yo...> but was:<...tion with the same ([Language, Month). (Language, Month]) must be unique. Yo...>


As can be seen one time Month,Language was used and in the other case Language,Month
Sort the list of columns in the error message text so that it is consistent on all databases.
No tags attached.
Issue History
2010-03-02 17:58shuehnerNew Issue
2010-03-02 17:58shuehnerAssigned To => shuehner
2010-03-02 18:44hgbotCheckin
2010-03-02 18:44hgbotNote Added: 0024964
2010-03-02 18:44hgbotStatusnew => resolved
2010-03-02 18:44hgbotResolutionopen => fixed
2010-03-02 18:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e8ac46d4297ce98a19643ee20286ec349a64f141 [^]
2010-03-03 12:48hgbotCheckin
2010-03-03 12:48hgbotNote Added: 0024993
2010-03-03 12:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/e8ac46d4297ce98a19643ee20286ec349a64f141 [^] => http://code.openbravo.com/erp/devel/pi/rev/ab4556169bd10525dd39660ea30d02086702e5ac [^]
2010-03-08 13:42mtaalNote Added: 0025122
2010-03-08 13:42mtaalStatusresolved => closed
2010-03-08 13:42mtaalFixed in Version => 2.50MP13
2010-03-08 16:04jpabloaeFixed in Version2.50MP13 => 2.50MP14
2010-03-10 17:25anonymoussf_bug_id0 =>
2010-03-10 18:30anonymoussf_bug_id => 2968123
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025378
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025381

Notes
(0024964)
hgbot   
2010-03-02 18:44   
Repository: erp/devel/pi
Changeset: e8ac46d4297ce98a19643ee20286ec349a64f141
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Mar 02 18:47:40 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e8ac46d4297ce98a19643ee20286ec349a64f141 [^]

Fixed 12529: Make order of columnnames in error message stable

---
M src-test/org/openbravo/test/system/ErrorTextParserTest.java
M src/org/openbravo/erpCommon/utility/ErrorTextParserORACLE.java
M src/org/openbravo/erpCommon/utility/ErrorTextParserPOSTGRE.java
---
(0024993)
hgbot   
2010-03-03 12:48   
Repository: erp/devel/pi
Changeset: ab4556169bd10525dd39660ea30d02086702e5ac
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Mar 03 12:52:04 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ab4556169bd10525dd39660ea30d02086702e5ac [^]

Fixed 12529: Fix error message parsing by sorting the right array

---
M src/org/openbravo/erpCommon/utility/ErrorTextParserORACLE.java
---
(0025122)
mtaal   
2010-03-08 13:42   
Code review done, backed by test case, is continuously tested in central build
(0025378)
hudsonbot   
2010-03-12 22:40   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e8ac46d4297c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0025381)
hudsonbot   
2010-03-12 22:40   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/ab4556169bd1 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]