Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026990Openbravo ERPA. Platformpublic2014-07-01 18:282014-09-30 16:44
jonalegriaesarte 
dbaz 
immediatecriticalhave not tried
closedfixed 
5
 
3.0PR14Q2.33.0PR14Q3 
alostale
Core
Production - QA Approved
2014-02-07
3.0PR14Q2
http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
No
0026990: Field access tab logic is not working
Field access tab logic is not working. In previous releases, if the role was configured without edit access to one field, the logic worked fine. Now it is not working anymore
- Procurement role
- Window access: Select purchase order
- Tab access: add edit access for lines tab
- Field access: add an entry for tax field, removing edit permissions
This configuration does not work
No tags attached.
related to defect 0026965 closed alostale Some tabs are not visible 
related to design defect 0024705 closed dbaz The windows takes long to be loaed when there are a lot of tabs and a lot of columns on the grid. 
Issue History
2014-07-01 18:28jonalegriaesarteNew Issue
2014-07-01 18:28jonalegriaesarteAssigned To => AugustoMauch
2014-07-01 18:28jonalegriaesarteModules => Core
2014-07-01 18:28jonalegriaesarteResolution time => 1404252000
2014-07-01 18:28jonalegriaesarteTriggers an Emergency Pack => No
2014-07-02 08:30alostaleRelationship addedrelated to 0026965
2014-07-02 09:36alostaleRelationship addedrelated to 0024705
2014-07-02 09:38alostaleRegression level => Production - QA Approved
2014-07-02 09:38alostaleRegression date => 2014-02-07
2014-07-02 09:38alostaleRegression introduced in release => PR14Q2
2014-07-02 09:38alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
2014-07-02 09:38alostaleAssigned ToAugustoMauch => dbaz
2014-07-02 09:42alostaleNote Added: 0068497
2014-07-03 15:08dbazReview Assigned To => alostale
2014-07-03 15:13hgbotCheckin
2014-07-03 15:13hgbotNote Added: 0068528
2014-07-03 15:13hgbotStatusnew => resolved
2014-07-03 15:13hgbotResolutionopen => fixed
2014-07-03 15:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0524039e9605b78dd055c2056b4265328e143e6c [^]
2014-07-03 16:02alostaleNote Added: 0068531
2014-07-03 16:02alostaleStatusresolved => closed
2014-07-03 16:02alostaleFixed in Version => PR14Q3
2014-08-08 18:52hudsonbotCheckin
2014-08-08 18:52hudsonbotNote Added: 0069132
2014-09-30 16:44plujanRegression introduced in releasePR14Q2 => 3.0PR14Q2

Notes
(0068497)
alostale   
2014-07-02 09:42   
The problem is in OBStandardWindow.setWindowSettings method: WindowSettingsActionHandler correctly returns the read-only fields, but when the actual fields are tried to be set as read-only they are iterated with view.viewGrid.getFields(), at this point due to the lazy loading introduced in 0024705, getFields returns an empty array.

When fixing this issue, check also all the configurations that can be set by WindowSettingsActionHandler.
(0068528)
hgbot   
2014-07-03 15:13   
Repository: erp/devel/pi
Changeset: 0524039e9605b78dd055c2056b4265328e143e6c
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Jul 03 15:12:47 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0524039e9605b78dd055c2056b4265328e143e6c [^]

Fixed issue 26990: Now 'Field Access' rules based on 'Role' work again

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
---
(0068531)
alostale   
2014-07-03 16:02   
Code reviewed.

Tested at tab and field level granting and revoking access at different levels in the tab hierarchy.
(0069132)
hudsonbot   
2014-08-08 18:52   
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