Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013905Openbravo ERPF. Localizationpublic2010-07-06 14:552010-07-24 00:00
dalsasua 
dalsasua 
urgentmajoralways
closedfixed 
20Ubuntu 9.04
pi 
pi 
Core
No
0013905: Enterprise Module Mangement is not working for datasets belonging to core module
Enterprise Module Mangement is not working for datasets belonging to core module
Perform initial client setup
Log in with new client
Go to Enterp.Module.Mgmt.
Apply core dataset to * organization
Realize that nothing happens
--- a/src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
+++ b/src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
@@ -201,8 +201,10 @@
 
         StringBuffer strError = new StringBuffer("");
         for (int j = 0; j < data.length; j++) {
- String strPath = vars.getSessionValue("#SOURCEPATH") + "/modules/" + data[j].javapackage
- + "/referencedata/standard";
+ String strPath = vars.getSessionValue("#SOURCEPATH");
+ if (!data[j].javapackage.equals("org.openbravo"))
+ strPath = strPath + "/modules/" + data[j].javapackage;
+ strPath = strPath + "/referencedata/standard";
           File datasetFile = new File(strPath + "/" + Utility.wikifiedName(data[j].datasetname)
               + ".xml");
           if (!datasetFile.exists()) {
No tags attached.
Issue History
2010-07-06 14:55dalsasuaNew Issue
2010-07-06 14:55dalsasuaAssigned To => dalsasua
2010-07-06 14:56dalsasuaStatusnew => scheduled
2010-07-06 14:56dalsasuafix_in_branch => pi
2010-07-06 15:32hgbotCheckin
2010-07-06 15:32hgbotNote Added: 0029093
2010-07-06 15:32hgbotStatusscheduled => resolved
2010-07-06 15:32hgbotResolutionopen => fixed
2010-07-06 15:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/df1b1005e10a1673521404eef6b0f23390378bc8 [^]
2010-07-07 11:05arunkumarNote Added: 0029107
2010-07-07 12:38hudsonbotCheckin
2010-07-07 12:38hudsonbotNote Added: 0029121
2010-07-08 14:20dalsasuaNote Added: 0029163
2010-07-12 08:41sureshbabuNote Added: 0029219
2010-07-12 15:38dalsasuaNote Added: 0029234
2010-07-12 15:39dalsasuaNote Added: 0029235
2010-07-23 12:04sureshbabuStatusresolved => closed
2010-07-24 00:00anonymoussf_bug_id0 => 3033812

Notes
(0029093)
hgbot   
2010-07-06 15:32   
Repository: erp/devel/pi
Changeset: df1b1005e10a1673521404eef6b0f23390378bc8
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jul 06 14:55:42 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df1b1005e10a1673521404eef6b0f23390378bc8 [^]

Fixes issue 13905: Enterprise Module Mangement is not working

---
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
---
(0029107)
arunkumar   
2010-07-07 11:05   
Now it shows "Process completed successfully" along with "Starting create reference data". Is this enough?
(0029121)
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/df1b1005e10a [^]
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 [^]
(0029163)
dalsasua   
2010-07-08 14:20   
You can check that new client has got document types, for example.
(0029219)
sureshbabu   
2010-07-12 08:41   
David, can you provide us the list of document types that needs to be verified.
(0029234)
dalsasua   
2010-07-12 15:38   
Perform 2 initial client setup process:

1.- Client coreIncluded. Check core checkbox
2.- Client coreNotIncluded. Check core checkbox

Compare c_doctype table content filtering for both ad_client_id (coreIncluded and coreNotIncluded clients). Must have same namber of rows.
(0029235)
dalsasua   
2010-07-12 15:39   
2nd step is wrong:

2.- Client coreNotIncluded. UNCHECK core checkbox. Change role to client coreNotIncluded. Perform enterprise module management for * organization applying core module.