Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012515Openbravo ERPZ. Otherspublic2010-03-01 19:042010-03-12 22:40
shuehner 
shuehner 
urgentminorhave not tried
closedfixed 
5
pi 
2.50MP14 
Core
No
0012515: The ErrorTextParser class should get some junit tests to spot regressions like 12499 much faster
This class is used to parse all exceptions raised from the database.

To avoid missing regression like 12499 for a long time some junit tests for it should be added...

No tags attached.
related to defect 00124992.50MP12 closed shuehner DB error not parsed deleting record with child 
Issue History
2010-03-01 19:04shuehnerNew Issue
2010-03-01 19:04shuehnerAssigned To => shuehner
2010-03-01 19:04shuehnerRelationship addedrelated to 0012499
2010-03-01 19:10hgbotCheckin
2010-03-01 19:10hgbotNote Added: 0024923
2010-03-01 19:10hgbotStatusnew => resolved
2010-03-01 19:10hgbotResolutionopen => fixed
2010-03-01 19:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a7c862c13fc571038de1b9af0b4449e04b863562 [^]
2010-03-02 13:49hgbotCheckin
2010-03-02 13:49hgbotNote Added: 0024946
2010-03-02 14:58hgbotCheckin
2010-03-02 14:58hgbotNote Added: 0024949
2010-03-08 13:24mtaalNote Added: 0025121
2010-03-08 13:24mtaalStatusresolved => closed
2010-03-08 13:24mtaalFixed 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 => 2968119
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025369
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025372
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025374

Notes
(0024923)
hgbot   
2010-03-01 19:10   
Repository: erp/devel/pi
Changeset: a7c862c13fc571038de1b9af0b4449e04b863562
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Mar 01 19:13:54 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a7c862c13fc571038de1b9af0b4449e04b863562 [^]

Fixed 12515: Add some junit-tests for the ErrorTextParser classes
The testcase use some xsql-methods to raise a number of db-exceptions
then uses the ErrorTextParser to translate those inho user-readable
error messages and compares those to some expted values (which have
to be in sync with the ad_message strings used for the translation)

---
A src-test/org/openbravo/test/system/ErrorTextParserTest.java
A src/org/openbravo/test/system/ErrorTextParserTest_data.xsql
---
(0024946)
hgbot   
2010-03-02 13:49   
Repository: erp/devel/pi
Changeset: 5621f3cd9f4b480f359dda1cd19fc45ede92d434
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Mar 02 13:52:37 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5621f3cd9f4b480f359dda1cd19fc45ede92d434 [^]

Issue 12515: Avoid errors from mod-triggers by setting core in development
As all testcases rollback the transaction at the end no change done to db data

---
M src-test/org/openbravo/test/system/ErrorTextParserTest.java
M src/org/openbravo/test/system/ErrorTextParserTest_data.xsql
---
(0024949)
hgbot   
2010-03-02 14:58   
Repository: erp/devel/pi
Changeset: b56fd08a6a38f968826c774bf3f48cf6b3ecdba0
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Mar 02 15:02:02 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b56fd08a6a38f968826c774bf3f48cf6b3ecdba0 [^]

Issue 12515: add new junit test to the *AntTaskTest-suites

---
M src-test/org/openbravo/test/AllAntTaskTests.java
M src-test/org/openbravo/test/AllQuickAntTaskTests.java
M src-test/org/openbravo/test/AntTaskTests.java
---
(0025121)
mtaal   
2010-03-08 13:24   
Tested and works fine
(0025369)
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/a7c862c13fc5 [^]
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 [^]
(0025372)
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/5621f3cd9f4b [^]
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 [^]
(0025374)
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/b56fd08a6a38 [^]
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 [^]