Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020530 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2012-05-16 17:42 | 2012-05-29 12:32 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 19f445d28fd2 | ||||
Projection | none | ETA | none | Target Version | 3.0MP12 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0048707) hgbot (developer) 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 (developer) 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 --- |
(0049147) hudsonbot (developer) 2012-05-25 12:12 |
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/5401e185a8b0 [^] Maturity status: Test |
(0049148) hudsonbot (developer) 2012-05-25 12:12 |
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/5401e185a8b0 [^] Maturity status: Test |
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 |
Copyright © 2000 - 2009 MantisBT Group |