Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015696 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 02. Master data management | major | always | 2011-01-18 17:57 | 2011-01-19 13:39 | |||
Reporter | dalsasua | View Status | public | |||||
Assigned To | dalsasua | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 2.50MP26 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | c2b161e5272d | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6.0_14 | |||
OS Version | Ubuntu 9.04 | Database version | 11.1.0.6.0 SE | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015696: Initial Organization Setup process does always insert reference data belonging to "*" Organization | |||||||
Description | Initial Organization Setup process does always insert reference data belonging to "*" Organization | |||||||
Steps To Reproduce | Run 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 " | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 --- |
![]() |
|||
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 |