Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023492Openbravo ERPA. Platformpublic2013-04-04 18:482013-04-16 19:18
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0MP23 
shankarb
Core
No
0023492: Wrong role id is being stored when creating a Process Definition access
When a Process Definition is added to a Role, the role id saved is not the id of the selected role, but the id of the current role of the current user.
As F&B Admin:
- Open the role window
- Select a role other than the one you are logged in
- Create a Process Definition and save it.
- Refresh the grid of the Process Definition tab. See that the record disappears. This is because the record has been saved with the wrong role id and the datasource is filtered using the role selected in the header tab.
Check the flag Link to Parent Column of the ad_role_id column of that table.
No tags attached.
diff issue23492.diff (1,029) 2013-04-05 10:47
https://issues.openbravo.com/file_download.php?file_id=6072&type=bug
Issue History
2013-04-04 18:48AugustoMauchNew Issue
2013-04-04 18:48AugustoMauchAssigned To => AugustoMauch
2013-04-04 18:48AugustoMauchModules => Core
2013-04-04 18:48AugustoMauchTriggers an Emergency Pack => No
2013-04-05 10:46AugustoMauchProposed Solution updated
2013-04-05 10:47AugustoMauchFile Added: issue23492.diff
2013-04-05 10:57AugustoMauchStatusnew => scheduled
2013-04-05 10:57AugustoMauchfix_in_branch => pi
2013-04-09 15:57AugustoMauchIssue Monitored: shankarb
2013-04-09 15:57AugustoMauchReview Assigned To => shankarb
2013-04-09 15:57AugustoMauchfix_in_branchpi =>
2013-04-09 15:58hgbotCheckin
2013-04-09 15:58hgbotNote Added: 0057808
2013-04-09 15:58hgbotStatusscheduled => resolved
2013-04-09 15:58hgbotResolutionopen => fixed
2013-04-09 15:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2954f1342025da15a0a13286d8bf4fc9c62de7d3 [^]
2013-04-14 15:24shankarbNote Added: 0057880
2013-04-14 15:24shankarbStatusresolved => closed
2013-04-14 15:24shankarbFixed in Version => 3.0MP23
2013-04-16 19:18hudsonbotCheckin
2013-04-16 19:18hudsonbotNote Added: 0057943

Notes
(0057808)
hgbot   
2013-04-09 15:58   
Repository: erp/devel/pi
Changeset: 2954f1342025da15a0a13286d8bf4fc9c62de7d3
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Apr 09 15:57:15 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2954f1342025da15a0a13286d8bf4fc9c62de7d3 [^]

Fixes issue 23492: Fixed definition of the OBUIAPP_Process_Access.Role column

The Role column of the OBUIAPP_Process_Access table was not defined as IsParent. That meant that when the context info is sent to the datasource, the value of the AD_ROLE_ID property is the ID of the role the user has logged in, instead of the id of the role selected in the Role tab.

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
---
(0057880)
shankarb   
2013-04-14 15:24   
Code reviewed and tested in pi changest af8bd60362ce
(0057943)
hudsonbot   
2013-04-16 19:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8df08bea850d [^]

Maturity status: Test