Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013907Openbravo ERPA. Platformpublic2010-07-07 00:192010-07-14 00:00
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0013907: Conversion of datetime value from xml to java fails during import client
The conversion of audit info (datetime) fails during import client. The following exception/message is thrown:
Exception when parsing entity ADClient (491AB90A59374B31AF4AD4BAACE88BEF):creationDate: Property ADClient.creationDate only allows instances of java.util.Date but the value is an instanceof java.lang.Long

No tags attached.
Issue History
2010-07-07 00:19mtaalNew Issue
2010-07-07 00:19mtaalAssigned To => mtaal
2010-07-07 00:21hgbotCheckin
2010-07-07 00:21hgbotNote Added: 0029101
2010-07-07 00:21hgbotStatusnew => resolved
2010-07-07 00:21hgbotResolutionopen => fixed
2010-07-07 00:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4dc59fb2e7d33bc8ae8c0b60e684bb6778d1bf44 [^]
2010-07-07 12:38hudsonbotCheckin
2010-07-07 12:38hudsonbotNote Added: 0029123
2010-07-13 14:51shuehnerNote Added: 0029264
2010-07-13 14:51shuehnerStatusresolved => closed
2010-07-14 00:00anonymoussf_bug_id0 => 3029176

Notes
(0029101)
hgbot   
2010-07-07 00:21   
Repository: erp/devel/pi
Changeset: 4dc59fb2e7d33bc8ae8c0b60e684bb6778d1bf44
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jul 07 00:20:42 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4dc59fb2e7d33bc8ae8c0b60e684bb6778d1bf44 [^]

Fixes issue 13907: Conversion of datetime value from xml to java fails during import client

---
M src/org/openbravo/base/model/domaintype/DatetimeDomainType.java
---
(0029123)
hudsonbot   
2010-07-07 12:38   
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/4dc59fb2e7d3 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d555a35070ee [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17817.obx [^]
(0029264)
shuehner   
2010-07-13 14:51   
Tested in pi, rev:c358c1e82f10 (pgsql) by creating a new client, exporting with client with audit info, then importing the just exported file with audit info also. Process went fine, client was imported without errors related to the datetime fields.