Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010792Openbravo ERPZ. Otherspublic2009-09-28 16:192009-11-17 00:00
gmauleon 
alostale 
immediatemajoralways
closedfixed 
5
 
 
Core
No
0010792: Initial client setup not working using two datasets
Trying to run the initial client setup selecting 2 dataset from he dataset selector (Quick Start and Quick Start Spain). The system thowns and error.

ERRORS:

Referenced object ADRole (id: FF8081812250326E012250353BDE0005 / ADRoleFF8081812250326E012250353BDE0005) not present in the xml or in the database.

El proceso de creación de los datos de referencia falló.


As aditional information we found a work around to avoid this issue. After installing Quick Start and Quick Start Spain we run the Initial Client Setup selecting only the Quick Start Global, This process worked perfectly and after that we used the Enterprise module management to apply the Quick Start Spain Dataset (Client Configuration || Organization || Enterprise module management || Enterprise module management).
- Install the Quick start and Quick start Spain modules
- Go To the initial client setup window (logged as System Admin)
- General Setup || Client || Initial Client Setup || Initial Client Setup
- Client: whatever
- Client Username: whatever
- Currency: USD
- Accounting File: AccountsSimplifiedUS06v5.1
- Reference Data: Select Quick Start and Quick Start Spain
- Accounting Dimensions: Select Business Partner, Product, Project
- Click OK
No tags attached.
has duplicate defect 0011014 closed alostale Module dependencies must be taken into account while installing several dependant modules 
Issue History
2009-09-28 16:19gmauleonNew Issue
2009-09-28 16:19gmauleonAssigned To => eduardo_Argal
2009-09-28 21:46roklenardicTarget Version1.1.0 => 1.2.0
2009-09-29 08:52psarobeNote Added: 0020424
2009-09-29 08:52psarobeStatusnew => feedback
2009-09-29 15:21dmitry_mezentsevNote Added: 0020530
2009-10-14 15:43roklenardicNote Added: 0021007
2009-10-14 20:12dmitry_mezentsevNote Added: 0021019
2009-10-15 09:19roklenardicCategory => Consultant's Manual
2009-10-15 09:19roklenardicTarget Version1.2.0 =>
2009-10-15 09:20roklenardicStatusfeedback => scheduled
2009-10-15 09:20roklenardicNote Added: 0021024
2009-10-15 09:20roklenardicfix_in_branch => pi
2009-10-16 16:43dmitry_mezentsevRelationship addedrelated to 0011014
2009-10-27 14:06psarobeNote Added: 0021427
2009-10-28 08:34psarobeProject@27@ => Openbravo ERP
2009-11-03 12:58eduardo_ArgalAssigned Toeduardo_Argal => alostale
2009-11-03 12:58eduardo_ArgalPriorityurgent => immediate
2009-11-03 12:58eduardo_Argalfix_in_branchpi =>
2009-11-03 16:20hgbotCheckin
2009-11-03 16:20hgbotNote Added: 0021540
2009-11-03 16:20hgbotStatusscheduled => resolved
2009-11-03 16:20hgbotResolutionopen => fixed
2009-11-03 16:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5a2d8c96dccbd6d628e92533a644dfdaaacec586 [^]
2009-11-04 12:14hgbotCheckin
2009-11-04 12:14hgbotNote Added: 0021555
2009-11-04 12:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/5a2d8c96dccbd6d628e92533a644dfdaaacec586 [^] => http://code.openbravo.com/erp/devel/pi/rev/b2f5104253d79cb4f08a3fe5c582189464cdb6fa [^]
2009-11-13 17:43shuehnerNote Added: 0021819
2009-11-13 17:43shuehnerStatusresolved => new
2009-11-13 17:43shuehnerResolutionfixed => open
2009-11-16 10:07hgbotCheckin
2009-11-16 10:07hgbotNote Added: 0021837
2009-11-16 10:07hgbotStatusnew => resolved
2009-11-16 10:07hgbotResolutionopen => fixed
2009-11-16 10:07hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b2f5104253d79cb4f08a3fe5c582189464cdb6fa [^] => http://code.openbravo.com/erp/devel/pi/rev/aff5b571308829caf75b45bda18bfebdf2ce4f37 [^]
2009-11-16 16:06shuehnerNote Added: 0021869
2009-11-16 16:06shuehnerStatusresolved => closed
2009-11-16 16:09dmitry_mezentsevNote Added: 0021870
2009-11-16 16:49shuehnerNote Added: 0021872
2009-11-17 00:00anonymoussf_bug_id0 => 2898749
2009-11-17 07:49alostaleRelationship replacedhas duplicate 0011014

Notes
(0020424)
psarobe   
2009-09-29 08:52   
Please gorka,

Can you say in which product version is happening?
(0020530)
dmitry_mezentsev   
2009-09-29 15:21   
Hi Pablo,

I can briefly comment here.

It was found in 2.50MP5.

The Issue is that Initial client setup process does not take in account dependencies while applying modules so it tries to install QS Spain which does changes to QS Global while the last one is not installed yet.

We discussed it with Ismael and Eduardo and it looks like we need just to sort modules by dependencies (this method is already exists) before applying them in Initial client setup process.
(0021007)
roklenardic   
2009-10-14 15:43   
This issue has been in the feedback status for quite a while and is scheduled for 1.2.0. is it resolved or worked on?
(0021019)
dmitry_mezentsev   
2009-10-14 20:12   
Rok,

You are right, issue hanged a bit (Eduardo is in an urgent business trip in London) but we will try to resolve it.

In any case I would say that it is not targeting QS 1.2.0 cause it is a core issue which is going to be fixed in the next 2.50 MP8 while QS 1.2.0 is based on MP7. After this fix is available with MP8 QS 1.2.0 should also benefit of it.
(0021024)
roklenardic   
2009-10-15 09:20   
This is a core issue and is scheduled for release in 2.50 MP8. Version 1.2.0 will most likely benefit from this fix when MP8 will be released.
(0021427)
psarobe   
2009-10-27 14:06   
Hi all,

If this is a core issue you should have moved to Openbravo ERP. Now it won't be fixed in 250MP8 because MP8 is about to be released.

Remember that all the core issues must be in Openbravo ERP project. please move it
(0021540)
hgbot   
2009-11-03 16:20   
Repository: erp/devel/pi
Changeset: 5a2d8c96dccbd6d628e92533a644dfdaaacec586
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Nov 03 16:20:20 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5a2d8c96dccbd6d628e92533a644dfdaaacec586 [^]

fixed bug 0010792: Initial client setup not working using two datasets

---
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
M src/org/openbravo/erpCommon/modules/ApplyModule.java
M src/org/openbravo/erpCommon/modules/ModuleUtiltiy.java
R src/org/openbravo/erpCommon/modules/ModuleUtility_data.xsql
---
(0021555)
hgbot   
2009-11-04 12:14   
Repository: erp/devel/pi
Changeset: b2f5104253d79cb4f08a3fe5c582189464cdb6fa
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Nov 04 12:14:13 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b2f5104253d79cb4f08a3fe5c582189464cdb6fa [^]

ralated to issue 0010792: Don't use deprecated methods

---
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
---
(0021819)
shuehner   
2009-11-13 17:43   
Tested, fails with same error like mentioned in the issue.
(0021837)
hgbot   
2009-11-16 10:07   
Repository: erp/devel/pi
Changeset: aff5b571308829caf75b45bda18bfebdf2ce4f37
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 16 10:06:46 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/aff5b571308829caf75b45bda18bfebdf2ce4f37 [^]

fixed bug 0010792: Initial client setup not working using two datasets
  Order modules even if they are not a complete list

---
M src/org/openbravo/erpCommon/modules/ModuleUtiltiy.java
---
(0021869)
shuehner   
2009-11-16 16:06   
Tested, working fine after the latest commit in this issue. Initial Client setup using two datasets at the same time (QuickStart datasets & quick spain datasets) run until completion without errors.
(0021870)
dmitry_mezentsev   
2009-11-16 16:09   
Cool!!!
(0021872)
shuehner   
2009-11-16 16:49   
Note: testing was done by backporting the patch to MP8 as the quickstart packages are not compatible with pi without updates (because of the float -> BigDecimal changes)