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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018675
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-10-03 14:182011-10-12 02:01
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncdcdc25c1aac
ProjectionnoneETAnoneTarget Version3.0MP4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018675: int-modules-pgsql/1280/ failed with error related to translations & datasets

DescriptionThis job recently fails often (but not always) related to a inserting translation records via a dataset violating a unique constraint.

Example error message:
http://builds.openbravo.com/job/int-modules-pgsql/1280/artifact/SANDBOX/automation/pi/last-results/int-modules-pgsql/screenshots/installModules.png [^]

Relevant part of logfile (20111003101225-apply.log in int-modules-pgsql workspace):
     [java] 174266 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from European Union countries module. Dataset: European_Union_Country_Dataset.xml
     [java] 174676 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Translation: Spanish-Spain (es_ES) español-España module. Dataset: Masterdata.xml
     [java] 179471 [main] ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 0 insert into AD_Month_Trl (AD_Month_ID, AD_Language, AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby,
     [java] 179481 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: duplicate key value violates unique constraint "ad_month_trl_month_language_un"
     [java] 179521 [main] ERROR org.openbravo.erpCommon.modules.ApplyModule - isBatchUpdateException:duplicate key value violates unique constraint "ad_month_trl_month_language_un"
     [java] 179536 [main] ERROR org.openbravo.base.exception.OBException - isBatchUpdateException:duplicate key value violates unique constraint "ad_month_trl_month_language_un"
     [java] org.openbravo.base.exception.OBException: isBatchUpdateException:duplicate key value violates unique constraint "ad_month_trl_month_language_un"
     [java] at org.openbravo.erpCommon.modules.ApplyModule.execute(ApplyModule.java:166)
     [java] at org.openbravo.erpCommon.modules.ApplyModuleTask.doExecute(ApplyModuleTask.java:105)
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0041465)
hgbot (developer)
2011-10-03 16:34

Repository: erp/devel/pi
Changeset: cdcdc25c1aacdc1514cc7fec5b116291feeff2f1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 03 16:33:30 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cdcdc25c1aacdc1514cc7fec5b116291feeff2f1 [^]

Fixed issue 18675. Trl tables will be matched by unique constraint on the DAL reference data import process.

---
M src/org/openbravo/dal/xml/BaseXMLEntityConverter.java
---
(0041525)
hgbot (developer)
2011-10-06 11:12

Repository: erp/stable/2.50
Changeset: 4ea4016ee815b7b684e9c11d6d5f9119d821c7ba
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Oct 06 11:08:51 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/4ea4016ee815b7b684e9c11d6d5f9119d821c7ba [^]

issue 18675. Trl tables will be matched by unique constraint on the DAL reference data import process.

---
M src/org/openbravo/dal/xml/BaseXMLEntityConverter.java
---
(0041594)
iperdomo (reporter)
2011-10-11 18:24

Tested on pi @ rev 5782da5a0bb8
(0041748)
hudsonbot (developer)
2011-10-12 02:01

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/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-10-03 14:18 shuehner New Issue
2011-10-03 14:18 shuehner Assigned To => marvintm
2011-10-03 14:18 shuehner Modules => Core
2011-10-03 16:34 hgbot Checkin
2011-10-03 16:34 hgbot Note Added: 0041465
2011-10-03 16:34 hgbot Status new => resolved
2011-10-03 16:34 hgbot Resolution open => fixed
2011-10-03 16:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cdcdc25c1aacdc1514cc7fec5b116291feeff2f1 [^]
2011-10-06 11:12 hgbot Checkin
2011-10-06 11:12 hgbot Note Added: 0041525
2011-10-11 18:24 iperdomo Note Added: 0041594
2011-10-11 18:24 iperdomo Status resolved => closed
2011-10-12 02:01 hudsonbot Checkin
2011-10-12 02:01 hudsonbot Note Added: 0041748


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker