Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023492
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2013-04-04 18:482013-04-16 19:18
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP23
StatusclosedFix in branchFixed in SCM revision2954f1342025
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023492: Wrong role id is being stored when creating a Process Definition access

DescriptionWhen 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.
Steps To ReproduceAs 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.
Proposed SolutionCheck the flag Link to Parent Column of the ad_role_id column of that table.
TagsNo tags attached.
Attached Filesdiff file icon issue23492.diff [^] (1,029 bytes) 2013-04-05 10:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0057808)
hgbot (developer)
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 (reporter)
2013-04-14 15:24

Code reviewed and tested in pi changest af8bd60362ce
(0057943)
hudsonbot (developer)
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

- Issue History
Date Modified Username Field Change
2013-04-04 18:48 AugustoMauch New Issue
2013-04-04 18:48 AugustoMauch Assigned To => AugustoMauch
2013-04-04 18:48 AugustoMauch Modules => Core
2013-04-04 18:48 AugustoMauch Triggers an Emergency Pack => No
2013-04-05 10:46 AugustoMauch Proposed Solution updated
2013-04-05 10:47 AugustoMauch File Added: issue23492.diff
2013-04-05 10:57 AugustoMauch Status new => scheduled
2013-04-05 10:57 AugustoMauch fix_in_branch => pi
2013-04-09 15:57 AugustoMauch Issue Monitored: shankarb
2013-04-09 15:57 AugustoMauch Review Assigned To => shankarb
2013-04-09 15:57 AugustoMauch fix_in_branch pi =>
2013-04-09 15:58 hgbot Checkin
2013-04-09 15:58 hgbot Note Added: 0057808
2013-04-09 15:58 hgbot Status scheduled => resolved
2013-04-09 15:58 hgbot Resolution open => fixed
2013-04-09 15:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2954f1342025da15a0a13286d8bf4fc9c62de7d3 [^]
2013-04-14 15:24 shankarb Note Added: 0057880
2013-04-14 15:24 shankarb Status resolved => closed
2013-04-14 15:24 shankarb Fixed in Version => 3.0MP23
2013-04-16 19:18 hudsonbot Checkin
2013-04-16 19:18 hudsonbot Note Added: 0057943


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker