Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021647Openbravo ERPA. Platformpublic2012-09-13 20:162012-09-26 17:19
dmitry_mezentsev 
AugustoMauch 
normalminoralways
closedfixed 
5
pi 
3.0MP15 
marvintm
Core
No
0021647: Read only (due to the role access) records become editable after switching between tabs
User accesses a window and a record in a form view that belongs to the Client or Org. user does not have access to.
Fields of the record are shown as read only.
User changes the tab and switches back to the initial one.
Fields are shown as editable.
live.builds.pi as of 13.09.2012

1. Login with Openbravo / openbravo.
2. Launch Currency window.
3. Go to the form view of any record. Fields are read-only.
4. Switch tabs: to the Workspace and return back.
5. Fields are editable. If you try to modify them and try to save - correct error message appears "Saving failed. With your current role this action is not allowed.".
No tags attached.
Issue History
2012-09-13 20:16dmitry_mezentsevNew Issue
2012-09-13 20:16dmitry_mezentsevAssigned To => AugustoMauch
2012-09-13 20:16dmitry_mezentsevModules => Core
2012-09-17 16:37AugustoMauchClosed by => marvintm
2012-09-17 16:39hgbotCheckin
2012-09-17 16:39hgbotNote Added: 0052171
2012-09-17 16:39hgbotStatusnew => resolved
2012-09-17 16:39hgbotResolutionopen => fixed
2012-09-17 16:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7c3050fc5c15f8a8097e6f09da518d0767f4220f [^]
2012-09-25 11:12marvintmStatusresolved => closed
2012-09-25 11:12marvintmFixed in Version => 3.0MP15
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052773

Notes
(0052171)
hgbot   
2012-09-17 16:39   
Repository: erp/devel/pi
Changeset: 7c3050fc5c15f8a8097e6f09da518d0767f4220f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 17 16:39:03 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7c3050fc5c15f8a8097e6f09da518d0767f4220f [^]

Fixes issue 21647: Fields are still readonly after switching between tabs

The data._readonly property was only being set when the FIC was called in EDIT mode, but not in CHANGE mode, that is used when the user switches between tabs.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0052773)
hudsonbot   
2012-09-26 17:19   
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/b780e90c6452 [^]

Maturity status: Test