Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027236Openbravo ERPA. Platformpublic2014-07-30 13:582014-08-08 18:54
eduardo_Argal 
alostale 
immediatemajoralways
closedfixed 
5
 
3.0PR14Q33.0PR14Q4 
shankarb
Core
No
0027236: Process Definition defaults are not calculated if role inherits access to process from window access
Problem in BaseProcessActionHandler when retrieving windowId value from parameters.
code is expecting a parameter called 'windowId' when executing method hasAccess, but in the parameters we receive a propperty called 'inpwindowid' inside context object
Using finance role move to purchase invoice window and try to add a payment.
Realize that the window opens but no defaults are set.
Mind the log to see there are no permissions to execute Add Payment process.
Verify that window access is granted to the role, and so permissions for processed inside the window should be as well granted
No tags attached.
related to defect 0027325 closed AugustoMauch int-basic CI test randomly fail 
related to defect 00313863.0PR16Q1 closed aferraz Error shown in Add Payment when role has no access to Financial Account window 
Issue History
2014-07-30 13:58eduardo_ArgalNew Issue
2014-07-30 13:58eduardo_ArgalAssigned To => alostale
2014-07-30 13:58eduardo_ArgalModules => Core
2014-07-30 13:58eduardo_ArgalRegression level => Pre packaging ( pi )
2014-07-30 13:58eduardo_ArgalRegression introduced in release => pi
2014-07-30 13:58eduardo_ArgalTriggers an Emergency Pack => No
2014-07-30 15:47alostaleRegression levelPre packaging ( pi ) =>
2014-07-30 15:47alostaleRegression introduced in releasepi =>
2014-07-30 15:47alostaleNote Added: 0068981
2014-07-30 15:47alostaleSummaryProblem in BaseProcessActionHandler when retrieving windowId value from parameters => Process Definition defaults are not calculated if role inherits access to process from window access
2014-07-30 15:51hgbotCheckin
2014-07-30 15:51hgbotNote Added: 0068984
2014-07-30 15:51hgbotStatusnew => resolved
2014-07-30 15:51hgbotResolutionopen => fixed
2014-07-30 15:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d302a0eab5d36c6a7e15fc16ea8859df879f763e [^]
2014-07-30 15:53alostaleReview Assigned To => shankarb
2014-07-31 06:38shankarbNote Added: 0068997
2014-07-31 06:38shankarbStatusresolved => closed
2014-07-31 06:38shankarbFixed in Version => 3.0PR14Q4
2014-08-08 18:54hudsonbotCheckin
2014-08-08 18:54hudsonbotNote Added: 0069246
2014-08-13 17:28alostaleRelationship addedrelated to 0027325
2015-11-06 10:33aferrazRelationship addedrelated to 0031386

Notes
(0068981)
alostale   
2014-07-30 15:47   
Not a regression: it never calculated defaults if role didn't have explicit access to the process
(0068984)
hgbot   
2014-07-30 15:51   
Repository: erp/devel/pi
Changeset: d302a0eab5d36c6a7e15fc16ea8859df879f763e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 30 15:49:15 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d302a0eab5d36c6a7e15fc16ea8859df879f763e [^]

fixed bug 27236: Process Definition defaults are not calculated
if role inherits access to process from window access

setting windowId parameter in defaults request

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0068997)
shankarb   
2014-07-31 06:38   
Code reviewed and verified in pi changeset be933e11432c.
(0069246)
hudsonbot   
2014-08-08 18:54   
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/4450016dee64 [^]
Maturity status: Test