Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036095Openbravo ERPA. Platformpublic2017-05-25 08:372017-06-15 12:21
vmromanos 
caristu 
immediatemajoralways
closedfixed 
5
 
3.0PR17Q2.13.0PR17Q2.1 
AugustoMauch
Core
Production - Confirmed Stable
2016-09-21
3.0PR17Q1
http://code.openbravo.com/erp/devel/pi/rev/02c7d99b53e94e81945da798a3130bb2a0aa192 [^]
No
0036095: Failed to apply roles dataset
Since 3.0PR17Q1 is not possible to apply the roles dataset anymore. The following error is raised:

    
Error
Create reference data process failed

[...]

Processing dataset V3 Roles
Exception when parsing entity ADRole (CA5B7FB2C95740E499C0F102343D51AD):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (D7D7D228E4594ACE8D00FD0E08B333DE):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (FF8081812250326E012250353BDE0005):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (FF8081812250326E012250353BDE0006):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (FF808181259DADEB01259DDDA4BB01E5):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (FF808181259DADEB01259DDDA4C201E6):Property clientList does not exist for entity ADRole Exception when parsing entity ADRole (FF808181259DADEB01259DDDA4C201E7):Property clientList does not exist for entity ADRole Referenced object ADRole (id: FF808181259DADEB01259DDDA4BB01E5 / ADRoleFF808181259DADEB01259DDDA4BB01E5) not present in the xml or in the database. Referenced object ADRole (id: FF8081812250326E012250353BDE0006 / ADRoleFF8081812250326E012250353BDE0006) not present in the xml or in the database. Referenced object ADRole (id: FF8081812250326E012250353BDE0005 / ADRoleFF8081812250326E012250353BDE0005) not present in the xml or in the database. Referenced object ADRole (id: D7D7D228E4594ACE8D00FD0E08B333DE / ADRoleD7D7D228E4594ACE8D00FD0E08B333DE) not present in the xml or in the database. Referenced object ADRole (id: CA5B7FB2C95740E499C0F102343D51AD / ADRoleCA5B7FB2C95740E499C0F102343D51AD) not present in the xml or in the database. Referenced object ADRole (id: FF808181259DADEB01259DDDA4C201E7 / ADRoleFF808181259DADEB01259DDDA4C201E7) not present in the xml or in the database. Referenced object ADRole (id: FF808181259DADEB01259DDDA4C201E6 / ADRoleFF808181259DADEB01259DDDA4C201E6) not present in the xml or in the database.
Create reference data process failed




Problem seems to be related to API change 0034297
Login as Openbravo Admin
Change role to System Administrator
Open Initial Client Setup
Fill mandatory fields and uncheck Include Accounting
Select Pre-configured collection of standard ERP roles - Standard Roles
Press OK.
Error is raised
No tags attached.
blocks defect 0036092 closed alostale Failed to apply roles dataset 
Issue History
2017-05-25 09:53alostaleTypedefect => backport
2017-05-25 09:53alostaleTarget Version => 3.0PR17Q2.1
2017-05-25 10:27alostaleRegression level => Production - Confirmed Stable
2017-06-15 11:22hgbotCheckin
2017-06-15 11:22hgbotNote Added: 0097414
2017-06-15 11:22hgbotStatusscheduled => resolved
2017-06-15 11:22hgbotResolutionopen => fixed
2017-06-15 11:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/c2d6e38b0ed46ee43953f9f3df77649c7e27a8c7 [^]
2017-06-15 11:22caristuAssigned Toalostale => caristu
2017-06-15 11:22caristuReview Assigned Tocaristu => AugustoMauch
2017-06-15 12:21AugustoMauchNote Added: 0097420
2017-06-15 12:21AugustoMauchStatusresolved => closed
2017-06-15 12:21AugustoMauchFixed in Version => 3.0PR17Q2.1

Notes
(0097414)
hgbot   
2017-06-15 11:22   
Repository: erp/backports/3.0PR17Q2.1
Changeset: c2d6e38b0ed46ee43953f9f3df77649c7e27a8c7
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jun 15 11:21:21 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/c2d6e38b0ed46ee43953f9f3df77649c7e27a8c7 [^]

fixed bug 36095: Failed to apply roles dataset

Roles dataset still made reference to removed client and organization lists.

These references have been removed.

---
M modules/org.openbravo.v3.datasets/referencedata/standard/V3_Roles.xml
---
(0097420)
AugustoMauch   
2017-06-15 12:21   
Code reviewed and verified