Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027057Openbravo ERPC. Securitypublic2014-07-14 08:562014-08-08 18:53
alostale 
alostale 
immediatecriticalhave not tried
closedfixed 
5
 
3.0PR14Q3 
shankarb
Core
Pre packaging ( pi )
2014-05-26
main
http://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^]
No
0027057: can't select value in drop down if role has no access to field entity
Drop down list selectors (table and table dir references) don't show any data if the current role has not, at least derived, access to field entity.
-Set Employee role
-Create new record in Requisition window
-Open Price List Drop down
  * "No Items To show" message is shown
  * Error in log can be seen: ERROR org.openbravo.base.exception.OBException - Entity ADField is not readable by the user 100

Same in MP31 is displaying list of values
  
No tags attached.
related to feature request 00262673.0PR14Q3 closed shankarb Re-implement combos (table and tableDir) to use datasources 
Issue History
2014-07-14 08:56alostaleNew Issue
2014-07-14 08:56alostaleAssigned To => alostale
2014-07-14 08:56alostaleModules => Core
2014-07-14 08:56alostaleTriggers an Emergency Pack => No
2014-07-14 08:57alostaleRelationship addedrelated to 0026267
2014-07-14 08:59alostaleReview Assigned To => shankarb
2014-07-14 08:59alostaleRegression level => Pre packaging ( pi )
2014-07-14 08:59alostaleRegression date => 2014-05-26
2014-07-14 08:59alostaleRegression introduced in release => main
2014-07-14 08:59alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^]
2014-07-14 09:18hgbotCheckin
2014-07-14 09:18hgbotNote Added: 0068596
2014-07-14 09:18hgbotStatusnew => resolved
2014-07-14 09:18hgbotResolutionopen => fixed
2014-07-14 09:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/25364ea4dcdc958837d8e93e32ea7ed52f0e88b6 [^]
2014-07-14 09:18hgbotCheckin
2014-07-14 09:18hgbotNote Added: 0068597
2014-07-14 10:15shankarbNote Added: 0068601
2014-07-14 10:15shankarbStatusresolved => closed
2014-07-14 10:15shankarbFixed in Version => PR14Q3
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069154
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069155

Notes
(0068596)
hgbot   
2014-07-14 09:18   
Repository: erp/devel/pi
Changeset: 25364ea4dcdc958837d8e93e32ea7ed52f0e88b6
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jul 14 09:17:23 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/25364ea4dcdc958837d8e93e32ea7ed52f0e88b6 [^]

fixed bug 27057: can't select value in drop down if role has no access to field entity

  Entity access check is done in admin mode, other case it failed if current role had no
  access to field/column entities

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ComboTableDatasourceService.java
---
(0068597)
hgbot   
2014-07-14 09:18   
Repository: erp/devel/pi
Changeset: 022f33b5b771a2a39eb2cb05f2a3af52a3a15c8a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jul 14 09:18:03 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/022f33b5b771a2a39eb2cb05f2a3af52a3a15c8a [^]

related to bug 27057: added test to cover this case

---
M src-test/org/openbravo/test/datasource/TestComboDatasource.java
---
(0068601)
shankarb   
2014-07-14 10:15   
Code reviewed and verified in pi changeset 022f33b5b771.
(0069154)
hudsonbot   
2014-08-08 18:53   
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
(0069155)
hudsonbot   
2014-08-08 18:53   
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