Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014080Openbravo ERPA. Platformpublic2010-07-28 17:452010-08-12 00:00
networkb 
mtaal 
urgentmajorsometimes
closedfixed 
5
2.50MP19 
2.50MP21 
Core
No
0014080: When exporting and then importing the client in the same environment i get and error
When exporting and importing the client in the same environment i get and error.
The error says:
Batch update returned unexpected row conut from update [0]; actual row count: 0; expected 1
-Install a MP19
-Install the modules
  initial data load
  inter company

-Export the client
-Import the client

then you get the error:
Batch update returned unexpected row conut from update [0]; actual row count: 0; expected 1

In the logs the error is:

42ca7f5c 15:03:36 [ajp-8009-3] WARN org.openbravo.service.db.DataImportService - There was a problem inserting data in the database.
42ca7f5c 15:03:36 [ajp-8009-3] INFO org.openbravo.service.db.DataImportService - The following exception was raised:
org.hibernate.PropertyValueException: not-null property references a null or transient value: FinancialMgmtCalendar.organization

No tags attached.
Issue History
2010-07-28 17:45networkbNew Issue
2010-07-28 17:45networkbAssigned To => mtaal
2010-08-02 08:09alostaleStatusnew => scheduled
2010-08-02 10:41mtaalNote Added: 0029740
2010-08-02 10:41mtaalStatusscheduled => feedback
2010-08-02 12:54networkbStatusfeedback => new
2010-08-02 19:16hgbotCheckin
2010-08-02 19:16hgbotNote Added: 0029753
2010-08-02 19:16hgbotStatusnew => resolved
2010-08-02 19:16hgbotResolutionopen => fixed
2010-08-02 19:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4e8a51c71835fcd50dfb44cb020d93caee3ed0d5 [^]
2010-08-02 22:02mtaalNote Added: 0029756
2010-08-02 22:02mtaalStatusresolved => new
2010-08-02 22:02mtaalResolutionfixed => open
2010-08-03 14:52hgbotCheckin
2010-08-03 14:52hgbotNote Added: 0029768
2010-08-03 14:52hgbotStatusnew => resolved
2010-08-03 14:52hgbotResolutionopen => fixed
2010-08-03 14:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/4e8a51c71835fcd50dfb44cb020d93caee3ed0d5 [^] => http://code.openbravo.com/erp/devel/pi/rev/c1ecf803c62af6e7af1784279aa4c2d7cb6c70e7 [^]
2010-08-05 09:16hudsonbotCheckin
2010-08-05 09:16hudsonbotNote Added: 0029794
2010-08-05 09:16hudsonbotCheckin
2010-08-05 09:16hudsonbotNote Added: 0029799
2010-08-11 12:55iperdomoNote Added: 0029887
2010-08-11 12:55iperdomoStatusresolved => closed
2010-08-12 00:00anonymoussf_bug_id0 => 3043345

Notes
(0029740)
mtaal   
2010-08-02 10:41   
I tried to reproduce but could not. Can you send me the xml which you tried to import? Directly by email if possible: martin.taal@openbravo.com

gr. Martin
(0029753)
hgbot   
2010-08-02 19:16   
Repository: erp/devel/pi
Changeset: 4e8a51c71835fcd50dfb44cb020d93caee3ed0d5
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Aug 02 19:15:57 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4e8a51c71835fcd50dfb44cb020d93caee3ed0d5 [^]

Fixes issue 14080: When exporting and then importing the client in the same environment i get and error

---
M src/org/openbravo/service/db/DataImportService.java
---
(0029756)
mtaal   
2010-08-02 22:02   
Solution results in build failure
(0029768)
hgbot   
2010-08-03 14:52   
Repository: erp/devel/pi
Changeset: c1ecf803c62af6e7af1784279aa4c2d7cb6c70e7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Aug 03 14:52:10 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c1ecf803c62af6e7af1784279aa4c2d7cb6c70e7 [^]

Fixes issue 14080: When exporting and then importing the client in the same environment i get and error

---
M src/org/openbravo/service/db/DataImportService.java
---
(0029794)
hudsonbot   
2010-08-05 09:16   
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/4e8a51c71835 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/02ad8e3730d2 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18019.obx [^]
(0029799)
hudsonbot   
2010-08-05 09:16   
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/c1ecf803c62a [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/02ad8e3730d2 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18019.obx [^]
(0029887)
iperdomo   
2010-08-11 12:55   
Tested on pi @ a45ffdf7b265