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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015695
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2011-01-18 17:572011-05-24 10:57
ReporterdalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision516a8b8fe061
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

0015695: 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 "
TagsclosingMay2011
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0015696 closeddalsasua Initial Organization Setup process does always insert reference data belonging to "*" Organization 

-  Notes
(0033728)
hgbot (developer)
2011-01-18 17:59

Repository: erp/devel/pi
Changeset: 88008810ef76db41272ba2486de2fda59632739c
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jan 18 17:58:44 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^]

Fixes issue 15695: Initial Organization Setup process
does always insert reference data belonging to "*" Organization.
Now it uses the correct organization when importing reference data

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

Repository: erp/devel/pi
Changeset: 516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 19 13:23:37 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6 [^]

Fixes issue 15695: Initial Organization Setup
process does always insert reference data belonging to "*" Organization

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

- Issue History
Date Modified Username Field Change
2011-01-18 17:57 dalsasua New Issue
2011-01-18 17:57 dalsasua Assigned To => dalsasua
2011-01-18 17:57 dalsasua Modules => Core
2011-01-18 17:57 dalsasua Status new => scheduled
2011-01-18 17:57 dalsasua fix_in_branch => pi
2011-01-18 17:57 dalsasua Priority normal => immediate
2011-01-18 17:57 dalsasua fix_in_branch pi =>
2011-01-18 17:59 hgbot Checkin
2011-01-18 17:59 hgbot Note Added: 0033728
2011-01-18 17:59 hgbot Status scheduled => resolved
2011-01-18 17:59 hgbot Resolution open => fixed
2011-01-18 17:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^]
2011-01-19 13:26 hgbot Checkin
2011-01-19 13:26 hgbot Note Added: 0033769
2011-01-19 13:26 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^] => http://code.openbravo.com/erp/devel/pi/rev/516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6 [^]
2011-01-19 13:38 dalsasua Status resolved => closed
2011-01-19 13:38 dalsasua Fixed in Version => 2.50MP26
2011-01-19 13:39 dalsasua Status closed => new
2011-01-19 13:39 dalsasua Resolution fixed => open
2011-01-19 13:39 dalsasua Fixed in Version 2.50MP26 =>
2011-01-19 13:39 dalsasua Status new => scheduled
2011-01-19 13:39 dalsasua fix_in_branch => pi
2011-01-19 13:39 dalsasua Status scheduled => resolved
2011-01-19 13:39 dalsasua Resolution open => fixed
2011-05-24 10:03 dalsasua Tag Attached: closingMay2011
2011-05-24 10:57 dalsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker