Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026990 | Openbravo ERP | A. Platform | public | 2014-07-01 18:28 | 2014-09-30 16:44 |
|
Reporter | jonalegriaesarte | |
Assigned To | dbaz | |
Priority | immediate | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q2.3 | Fixed in Version | 3.0PR14Q3 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 29632 |
Regression level | Production - QA Approved |
Regression date | 2014-02-07 |
Regression introduced in release | 3.0PR14Q2 |
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^] |
Triggers an Emergency Pack | No |
|
Summary | 0026990: Field access tab logic is not working |
Description | 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 |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | 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. |
|
Attached Files | |
|
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 | OBNetwork customer | => Yes |
2014-07-01 18:28 | jonalegriaesarte | Modules | => Core |
2014-07-01 18:28 | jonalegriaesarte | Support ticket | => 29632 |
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 |
Notes |
|
|
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
---
|
|
|
|
Code reviewed.
Tested at tab and field level granting and revoking access at different levels in the tab hierarchy. |
|
|
|
|