Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036096Openbravo ERPA. Platformpublic2017-05-25 08:372017-05-25 10:28
vmromanos 
alostale 
immediatemajoralways
closedfixed 
5
 
3.0PR17Q1.23.0PR17Q1.2 
caristu
Core
Production - Confirmed Stable
2016-09-21
3.0PR17Q1
http://code.openbravo.com/erp/devel/pi/rev/02c7d99b53e94e81945da798a3130bb2a0aa192 [^]
No
0036096: 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.0PR17Q1.2
2017-05-25 09:57hgbotCheckin
2017-05-25 09:57hgbotNote Added: 0096780
2017-05-25 09:57hgbotStatusscheduled => resolved
2017-05-25 09:57hgbotResolutionopen => fixed
2017-05-25 09:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/0d966ad2ac4b2574631fbba5c3026731b84fd5b8 [^]
2017-05-25 10:10caristuNote Added: 0096783
2017-05-25 10:10caristuStatusresolved => closed
2017-05-25 10:10caristuFixed in Version => 3.0PR17Q1.2
2017-05-25 10:28alostaleRegression level => Production - Confirmed Stable

Notes
(0096780)
hgbot   
2017-05-25 09:57   
Repository: erp/backports/3.0PR17Q1.2
Changeset: 0d966ad2ac4b2574631fbba5c3026731b84fd5b8
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 25 09:50:37 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/0d966ad2ac4b2574631fbba5c3026731b84fd5b8 [^]

fixed bug 36096: 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
---
(0096783)
caristu   
2017-05-25 10:10   
Code review + testing OK.