Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015042Openbravo ERP01. General setuppublic2010-10-26 21:222010-11-05 12:44
dalsasua 
dalsasua 
immediatemajoralways
closedfixed 
20Ubuntu 9.04
pi 
pi2.50MP24 
Core
No
0015042: If create reference data process fails during initial clilent setup,under some circumstances the Exception is not correcty shown
If create reference data process fails during initial clilent setup,under some circumstances the Exception is not correcty shown
--- a/src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
+++ b/src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
@@ -1337,6 +1337,10 @@
     String strXml = Utility.fileToString(datasetFile.getPath());
     myResult = myData.importDataFromXML(client, organization, strXml, dataset.getModule());
 
+ if (myResult.getErrorMessages() != null && !myResult.getErrorMessages().equals("")
+ && !myResult.getErrorMessages().equals("null"))
+ return myResult;
+
     insertClientModule(client, dataset.getModule());
 
     return myResult;
No tags attached.
Issue History
2010-10-26 21:22dalsasuaNew Issue
2010-10-26 21:22dalsasuaAssigned To => dalsasua
2010-10-26 21:25hgbotCheckin
2010-10-26 21:25hgbotNote Added: 0032238
2010-10-26 21:25hgbotStatusnew => resolved
2010-10-26 21:25hgbotResolutionopen => fixed
2010-10-26 21:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/080b4b811fa9ef9709fef8b6f8124403f13ea283 [^]
2010-10-26 21:42dalsasuaStatusresolved => closed
2010-10-26 21:42dalsasuaFixed in Version => 2.50MP24
2010-10-30 11:24anonymoussf_bug_id0 => 3098761
2010-11-05 12:44hudsonbotCheckin
2010-11-05 12:44hudsonbotNote Added: 0032422

Notes
(0032238)
hgbot   
2010-10-26 21:25   
Repository: erp/devel/pi
Changeset: 080b4b811fa9ef9709fef8b6f8124403f13ea283
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Oct 26 21:24:16 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/080b4b811fa9ef9709fef8b6f8124403f13ea283 [^]

Fixes issue 15042. ICS modified
initial client setup modified so now, in case a reference data is not correctly imported, the error text is directly shown

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0032422)
hudsonbot   
2010-11-05 12:44   
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/080b4b811fa9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f2cf138fa03c [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18797.obx [^]