Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014397 | Openbravo ERP | A. Platform | public | 2010-09-01 19:26 | 2010-09-13 12:38 |
|
Reporter | jpabloae | |
Assigned To | marvintm | |
Priority | urgent | Severity | minor | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Professional Appliance |
Product Version | pi | |
Target Version | 2.50MP22 | Fixed in Version | 2.50MP22 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0014397: Disable check constraints before importing the sample data, enable them when it finishes |
Description | There are cases in which Hibernate is not able to insert the data in a way that it complies with all the check constraints. For example with the combination of pi at 1d662363a99c and BigBazaar.xml. Example:
BUILD FAILED
/tmp/oberp.2.50MP21/OpenbravoERP/build.xml:652: The following error occurred while executing this line:
/tmp/oberp.2.50MP21/OpenbravoERP/build.xml:565: The following error occurred while executing this line:
/tmp/oberp.2.50MP21/OpenbravoERP/src/build.xml:238: org.openbravo.base.exception.OBException: Exception
(org.postgresql.util.PSQLException: ERROR: new row for relation c_debt_payment" violates check constraint "c_debt_payment_isdirectpos_chk") while importing from file /tmp/oberp.2.50MP21/OpenbravoERP/referencedata/sampledata/BigBazaar.xml
|
Steps To Reproduce | |
Proposed Solution | Disable the check constraints before importing the sample data and enable them once the process is finished. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-09-01 19:26 | jpabloae | New Issue | |
2010-09-01 19:26 | jpabloae | Assigned To | => marvintm |
2010-09-01 19:26 | jpabloae | OBNetwork customer | => No |
2010-09-02 12:19 | jpabloae | Issue Monitored: iciordia | |
2010-09-06 08:10 | alostale | Status | new => scheduled |
2010-09-07 14:58 | hgbot | Checkin | |
2010-09-07 14:58 | hgbot | Note Added: 0030764 | |
2010-09-07 14:58 | hgbot | Status | scheduled => resolved |
2010-09-07 14:58 | hgbot | Resolution | open => fixed |
2010-09-07 14:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/86a42dfae94e4b427a6b7fc2b8e638790a0b977d [^] |
2010-09-07 16:04 | hgbot | Checkin | |
2010-09-07 16:04 | hgbot | Note Added: 0030770 | |
2010-09-07 20:20 | hudsonbot | Checkin | |
2010-09-07 20:20 | hudsonbot | Note Added: 0030789 | |
2010-09-07 20:20 | hudsonbot | Checkin | |
2010-09-07 20:20 | hudsonbot | Note Added: 0030791 | |
2010-09-08 23:52 | jpabloae | Note Added: 0030873 | |
2010-09-08 23:52 | jpabloae | Status | resolved => closed |
2010-09-08 23:52 | jpabloae | Fixed in Version | => 2.50MP22 |
2010-09-09 00:31 | jpabloae | Relationship added | related to 0014264 |
2010-09-09 00:31 | jpabloae | Relationship deleted | related to 0014264 |
2010-09-13 12:38 | anonymous | sf_bug_id | 0 => 3065196 |
Notes |
|
(0030764)
|
hgbot
|
2010-09-07 14:58
|
|
Repository: erp/devel/pi
Changeset: 86a42dfae94e4b427a6b7fc2b8e638790a0b977d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Sep 07 11:55:32 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/86a42dfae94e4b427a6b7fc2b8e638790a0b977d [^]
Fixed issue 14397. Check constraints will be disabled when importing reference data
---
M src-db/database/lib/dbsourcemanager.jar
M src/org/openbravo/service/db/ImportReferenceDataTask.java
---
|
|
|
(0030770)
|
hgbot
|
2010-09-07 16:04
|
|
|
|
|
|
|
|
|
|
|
Verified by running a full build with the BigBazaar.xml sampledata. Previously it failed, as explained in the issue report summary. Now the build is succesful, so I'm closing the issue. |
|