Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015002Openbravo ERPF. Localizationpublic2010-10-22 18:102010-12-09 16:07
dalsasua 
dalsasua 
immediateminoralways
closedfixed 
20Ubuntu 9.04
pi 
2.50MP23 
Core
No
0015002: Initial Client Setup, if apply reference data, duplicates entries in ad_clientmodule table
Initial Client Setup, if apply reference data, duplicates entries in ad_clientmodule and ad_orgmodule tables
diff --git a/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java b/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
--- a/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
+++ b/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
@@ -670,20 +670,6 @@
         elements = iResult.getUpdatedObjects();
         logEvent(elements.size() + " @RowsUpdated@");
       }
- ADClientModule clientModule = null;
- try {
- clientModule = InitialSetupUtility.insertClientModule(client, module);
- } catch (Exception e) {
- return logErrorAndRollback(
- "@CreateReferenceDataFailed@",
- "insertReferenceDataModules() - Exception while updating version installed of the accounting module "
- + module.getName(), e);
- }
- if (clientModule == null)
- return logErrorAndRollback(
- "@CreateReferenceDataFailed@",
- "insertReferenceDataModules() - Exception while updating version installed of the accounting module "
- + module.getName());
     }
     return obeResult;
   }
No tags attached.
Issue History
2010-10-22 18:10dalsasuaNew Issue
2010-10-22 18:10dalsasuaAssigned To => dalsasua
2010-10-22 18:15hgbotCheckin
2010-10-22 18:15hgbotNote Added: 0032127
2010-10-22 18:15hgbotStatusnew => resolved
2010-10-22 18:15hgbotResolutionopen => fixed
2010-10-22 18:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/44841807a54d6263745e2e07419c611dfc54f1d6 [^]
2010-10-22 22:43hudsonbotCheckin
2010-10-22 22:43hudsonbotNote Added: 0032138
2010-11-18 12:24psarobeStatusresolved => closed
2010-11-18 12:24psarobeFixed in Version => 2.50MP23
2010-12-09 16:07anonymoussf_bug_id0 => 3133528

Notes
(0032127)
hgbot   
2010-10-22 18:15   
Repository: erp/devel/pi
Changeset: 44841807a54d6263745e2e07419c611dfc54f1d6
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Oct 22 18:15:12 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/44841807a54d6263745e2e07419c611dfc54f1d6 [^]

Fixes issue 15002 Initial Client Setup duplicates ad_clientmodule entries

---
M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
---
(0032138)
hudsonbot   
2010-10-22 22:43   
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/44841807a54d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/98214a9e7372 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18589.obx [^]