Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012529
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2010-03-02 17:582010-03-12 22:40
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version2.50MP14
StatusclosedFix in branchFixed in SCM revisionab4556169bd1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012529: The order of the column names of the error message of a unique constraint violation is not stable.

DescriptionNoticed 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
Proposed SolutionSort the list of columns in the error message text so that it is consistent on all databases.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024964)
hgbot (developer)
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 (developer)
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 (manager)
2010-03-08 13:42

Code review done, backed by test case, is continuously tested in central build
(0025378)
hudsonbot (developer)
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 (developer)
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 [^]

- Issue History
Date Modified Username Field Change
2010-03-02 17:58 shuehner New Issue
2010-03-02 17:58 shuehner Assigned To => shuehner
2010-03-02 18:44 hgbot Checkin
2010-03-02 18:44 hgbot Note Added: 0024964
2010-03-02 18:44 hgbot Status new => resolved
2010-03-02 18:44 hgbot Resolution open => fixed
2010-03-02 18:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e8ac46d4297ce98a19643ee20286ec349a64f141 [^]
2010-03-03 12:48 hgbot Checkin
2010-03-03 12:48 hgbot Note Added: 0024993
2010-03-03 12:48 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/e8ac46d4297ce98a19643ee20286ec349a64f141 [^] => http://code.openbravo.com/erp/devel/pi/rev/ab4556169bd10525dd39660ea30d02086702e5ac [^]
2010-03-08 13:42 mtaal Note Added: 0025122
2010-03-08 13:42 mtaal Status resolved => closed
2010-03-08 13:42 mtaal Fixed in Version => 2.50MP13
2010-03-08 16:04 jpabloae Fixed in Version 2.50MP13 => 2.50MP14
2010-03-10 17:25 anonymous sf_bug_id 0 =>
2010-03-10 18:30 anonymous sf_bug_id => 2968123
2010-03-12 22:40 hudsonbot Checkin
2010-03-12 22:40 hudsonbot Note Added: 0025378
2010-03-12 22:40 hudsonbot Checkin
2010-03-12 22:40 hudsonbot Note Added: 0025381


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker