Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013905
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] F. Localizationmajoralways2010-07-06 14:552010-07-24 00:00
ReporterdalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiondf1b1005e10a
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.6.0_14
OS VersionUbuntu 9.04Database version11.1.0.6.0 SEAnt version1.7.1
Product VersionpiSCM revision380f282edf46 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013905: Enterprise Module Mangement is not working for datasets belonging to core module

DescriptionEnterprise Module Mangement is not working for datasets belonging to core module
Steps To ReproducePerform initial client setup
Log in with new client
Go to Enterp.Module.Mgmt.
Apply core dataset to * organization
Realize that nothing happens
Proposed Solution--- 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()) {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0029093)
hgbot (developer)
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 (reporter)
2010-07-07 11:05

Now it shows "Process completed successfully" along with "Starting create reference data". Is this enough?
(0029121)
hudsonbot (developer)
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 (reporter)
2010-07-08 14:20

You can check that new client has got document types, for example.
(0029219)
sureshbabu (reporter)
2010-07-12 08:41

David, can you provide us the list of document types that needs to be verified.
(0029234)
dalsasua (reporter)
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 (reporter)
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.

- Issue History
Date Modified Username Field Change
2010-07-06 14:55 dalsasua New Issue
2010-07-06 14:55 dalsasua Assigned To => dalsasua
2010-07-06 14:56 dalsasua Status new => scheduled
2010-07-06 14:56 dalsasua fix_in_branch => pi
2010-07-06 15:32 hgbot Checkin
2010-07-06 15:32 hgbot Note Added: 0029093
2010-07-06 15:32 hgbot Status scheduled => resolved
2010-07-06 15:32 hgbot Resolution open => fixed
2010-07-06 15:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/df1b1005e10a1673521404eef6b0f23390378bc8 [^]
2010-07-07 11:05 arunkumar Note Added: 0029107
2010-07-07 12:38 hudsonbot Checkin
2010-07-07 12:38 hudsonbot Note Added: 0029121
2010-07-08 14:20 dalsasua Note Added: 0029163
2010-07-12 08:41 sureshbabu Note Added: 0029219
2010-07-12 15:38 dalsasua Note Added: 0029234
2010-07-12 15:39 dalsasua Note Added: 0029235
2010-07-23 12:04 sureshbabu Status resolved => closed
2010-07-24 00:00 anonymous sf_bug_id 0 => 3033812


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker