Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020530 | Openbravo ERP | A. Platform | public | 2012-05-16 17:42 | 2012-05-29 12:32 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP12 | Fixed in Version | 3.0MP12 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0020530: Link to inaccessible window in field title |
Description | In certain conditions, the title of a field has a link that tries to open a window that is not accessible by the current role. |
Steps To Reproduce | - Login as F&B Administrator
- Open the Role window
- Open the Window Access Tab
- Delete the User row.
- Logout, login as F&B Administrator again
- Open the Sales Order window
- Open any row in form view.
- In the More Information section, the title of the Sales Representative field is a link that points tot he User window, not accessible by the current role |
Proposed Solution | Modify the initialization of OB.AccessibleEntities so that it does not contain entities not accessible by the current role |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0035677 | | new | Triage Platform Base | The logic to show the link to an accessible window in field title is not complete |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-16 17:42 | AugustoMauch | New Issue | |
2012-05-16 17:42 | AugustoMauch | Assigned To | => AugustoMauch |
2012-05-16 17:42 | AugustoMauch | Modules | => Core |
2012-05-16 17:51 | hgbot | Checkin | |
2012-05-16 17:51 | hgbot | Note Added: 0048707 | |
2012-05-16 17:51 | hgbot | Status | new => resolved |
2012-05-16 17:51 | hgbot | Resolution | open => fixed |
2012-05-16 17:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/19f445d28fd23b4a0d7c1f9ae56f2e71dbaf8415 [^] |
2012-05-16 18:06 | hgbot | Checkin | |
2012-05-16 18:06 | hgbot | Note Added: 0048709 | |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049147 | |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049148 | |
2012-05-29 12:32 | marvintm | Status | resolved => closed |
2012-05-29 12:32 | marvintm | Fixed in Version | => 3.0MP12 |
2017-04-03 13:52 | caristu | Relationship added | related to 0035677 |
Notes |
|
(0048707)
|
hgbot
|
2012-05-16 17:51
|
|
Repository: erp/devel/pi
Changeset: 19f445d28fd23b4a0d7c1f9ae56f2e71dbaf8415
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 16 17:50:36 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/19f445d28fd23b4a0d7c1f9ae56f2e71dbaf8415 [^]
Fixes issue 20530: AccessibleEntities does not contain inaccessible entities
OB.AccessibleEntities is used to check if there should be a link in a title field. If a user does not have access to the window that will be opened when the link is clicked, that entity should not be contained in AccessibleEntities.
The initialization of AccessibleEntities has been modified, so if the window related to an entity is not accessible by the current role, it won't be contained in the list.
---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ApplicationDynamicComponent.java
---
|
|
|
(0048709)
|
hgbot
|
2012-05-16 18:06
|
|
Repository: erp/devel/pi
Changeset: f5d290f7173551f37a0716f0a0d90a387e65f4b0
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 16 18:05:08 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f5d290f7173551f37a0716f0a0d90a387e65f4b0 [^]
Related to issue 20530: Code refactored to prevent unnecessary queries.
For some tables it is better not to try to remove them from AccessibleEntities. In that case, the check is done before executing the query that retrieves the table model.
---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ApplicationDynamicComponent.java
---
|
|
|
|
|
|
|
|