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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026990
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalhave not tried2014-07-01 18:282014-09-30 16:44
ReporterjonalegriaesarteView Statuspublic 
Assigned Todbaz 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q3
StatusclosedFix in branchFixed in SCM revision0524039e9605
ProjectionnoneETAnoneTarget Version3.0PR14Q2.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelProduction - QA Approved
Regression date2014-02-07
Regression introduced in release3.0PR14Q2
Regression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
Triggers an Emergency PackNo
Summary

0026990: Field access tab logic is not working

DescriptionField 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
Steps To Reproduce- 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0026965 closedalostale Some tabs are not visible 
related to design defect 0024705 closeddbaz The windows takes long to be loaed when there are a lot of tabs and a lot of columns on the grid. 

-  Notes
(0068497)
alostale (manager)
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 (developer)
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 (manager)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2014-07-01 18:28 jonalegriaesarte New Issue
2014-07-01 18:28 jonalegriaesarte Assigned To => AugustoMauch
2014-07-01 18:28 jonalegriaesarte Modules => Core
2014-07-01 18:28 jonalegriaesarte Resolution time => 1404252000
2014-07-01 18:28 jonalegriaesarte Triggers an Emergency Pack => No
2014-07-02 08:30 alostale Relationship added related to 0026965
2014-07-02 09:36 alostale Relationship added related to 0024705
2014-07-02 09:38 alostale Regression level => Production - QA Approved
2014-07-02 09:38 alostale Regression date => 2014-02-07
2014-07-02 09:38 alostale Regression introduced in release => PR14Q2
2014-07-02 09:38 alostale Regression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
2014-07-02 09:38 alostale Assigned To AugustoMauch => dbaz
2014-07-02 09:42 alostale Note Added: 0068497
2014-07-03 15:08 dbaz Review Assigned To => alostale
2014-07-03 15:13 hgbot Checkin
2014-07-03 15:13 hgbot Note Added: 0068528
2014-07-03 15:13 hgbot Status new => resolved
2014-07-03 15:13 hgbot Resolution open => fixed
2014-07-03 15:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0524039e9605b78dd055c2056b4265328e143e6c [^]
2014-07-03 16:02 alostale Note Added: 0068531
2014-07-03 16:02 alostale Status resolved => closed
2014-07-03 16:02 alostale Fixed in Version => PR14Q3
2014-08-08 18:52 hudsonbot Checkin
2014-08-08 18:52 hudsonbot Note Added: 0069132
2014-09-30 16:44 plujan Regression introduced in release PR14Q2 => 3.0PR14Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker