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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015696
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 02. Master data managementmajoralways2011-01-18 17:572011-01-19 13:39
ReporterdalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityimmediateResolutionfixedFixed in Version2.50MP26
StatusclosedFix in branchpiFixed in SCM revisionc2b161e5272d
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6.0_14
OS VersionUbuntu 9.04Database version11.1.0.6.0 SEAnt version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015696: Initial Organization Setup process does always insert reference data belonging to "*" Organization

DescriptionInitial Organization Setup process does always insert reference data belonging to "*" Organization
Steps To ReproduceRun initial client setup and select none of the reference data modules (not even core)
Login as new client admin
Run initial org setup and select core dataset
Go to Document Definition window
Check that all the documents are defined at "*" level
Proposed Solution--- a/src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
+++ b/src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
@@ -85,7 +85,8 @@
    * @param strOrgUser
    * Name of the user that will be created for the organization
    * @param strOrgType
- * Organization Type code, according to: 0-Organization, 1-Legal with accounting, 2-Generic, 3-Legal without accounting.
+ * Organization Type code, according to: 0-Organization, 1-Legal with accounting,
+ * 2-Generic, 3-Legal without accounting.
    * @param strParentOrg
    * New organization will belong to the provided one, in the organization tree
    * @param strcLocationId
@@ -349,7 +350,7 @@
 
         ImportResult iResult;
         try {
- iResult = InitialSetupUtility.insertReferenceData(dataSet, client, null);
+ iResult = InitialSetupUtility.insertReferenceData(dataSet, client, org);
         } catch (Exception e) {
           return logErrorAndRollback("@CreateReferenceDataFailed@",
               "insertReferenceDataModules() - Exception ocurred while obtaining datasets for module "
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0015695 closeddalsasua Initial Organization Setup process does always insert reference data belonging to "*" Organization 

-  Notes
(0033729)
hgbot (developer)
2011-01-18 18:01

Repository: erp/stable/2.50
Changeset: 339c3ecd26686c1387f54e2b12913cf88d6ccd01
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jan 18 18:00:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^]

Fixes issue 15696. Now it uses correct organization
to import reference data elements

---
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0033770)
hgbot (developer)
2011-01-19 13:28

Repository: erp/stable/2.50
Changeset: c2b161e5272d47381d513e3c323a7ee3639c4e66
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 19 13:28:07 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/c2b161e5272d47381d513e3c323a7ee3639c4e66 [^]

Fixes issue 15696. Now saves in ad_orgmodule correctly

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---

- Issue History
Date Modified Username Field Change
2011-01-18 17:57 dalsasua Type defect => backport
2011-01-18 17:57 dalsasua fix_in_branch => 2.50
2011-01-18 17:57 dalsasua Priority normal => immediate
2011-01-18 18:01 hgbot Checkin
2011-01-18 18:01 hgbot Note Added: 0033729
2011-01-18 18:01 hgbot Status scheduled => resolved
2011-01-18 18:01 hgbot Resolution open => fixed
2011-01-18 18:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^]
2011-01-19 13:28 hgbot Checkin
2011-01-19 13:28 hgbot Note Added: 0033770
2011-01-19 13:28 hgbot Fixed in SCM revision http://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^] => http://code.openbravo.com/erp/stable/2.50/rev/c2b161e5272d47381d513e3c323a7ee3639c4e66 [^]
2011-01-19 13:37 dalsasua Status resolved => closed
2011-01-19 13:38 dalsasua Status closed => new
2011-01-19 13:38 dalsasua Resolution fixed => open
2011-01-19 13:38 dalsasua Status new => scheduled
2011-01-19 13:38 dalsasua fix_in_branch 2.50 => pi
2011-01-19 13:39 dalsasua Status scheduled => resolved
2011-01-19 13:39 dalsasua Fixed in Version => 2.50MP26
2011-01-19 13:39 dalsasua Resolution open => fixed
2011-01-19 13:39 dalsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker