Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020153Openbravo ERPA. Platformpublic2012-03-29 15:112012-04-02 06:13
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
pi 
Core
No
0020153: Incorrect linked items to inaccessible windows
There are two issues with linked item in case the referenced record is shown in a tab that is not accessible by the current role.

1. If the window referenced window is not in the list of accessible windows by the role, it correctly does not show the "Linked Item Category" but a useless message is shown on top of it. Furthermore, when moving to a record that shouldn't display the message because all linked items are in allowed windows, message is not removed.
2. If the access is in the list but it is disabled, no message is displayed at all and the category is shown.
For case 1.
  -In System Admin role, remove access to "Window, Tabs and Fields" window.

For case 2.
  -In System Admin role, deactivate access to "Window, Tabs and Fields" window.

In both cases:
  -Open "Table and Column" window
  -Select a table linked from tabs (ie. C_Order) -> Fails as described above
  -In case 1. Select a record that is not linked from tabs (ie. C_File) -> Message is not removed.
No tags attached.
related to defect 0017309 closed migueldejuana Linked items in new UI is inconsistent about isactive 
related to defect 00201453.0MP11 closed alostale Should not be possible to delete Matched Invoices records 
png Selection_047.png (12,455) 2012-03-29 15:55
https://issues.openbravo.com/file_download.php?file_id=5105&type=bug
png
Issue History
2012-03-29 15:11alostaleNew Issue
2012-03-29 15:11alostaleAssigned To => alostale
2012-03-29 15:11alostaleModules => Core
2012-03-29 15:11alostaleRelationship addedrelated to 0017309
2012-03-29 15:12alostaleRelationship addedrelated to 0020145
2012-03-29 15:55alostaleFile Added: Selection_047.png
2012-03-29 16:00hgbotCheckin
2012-03-29 16:00hgbotNote Added: 0046892
2012-03-29 16:01hgbotStatusnew => resolved
2012-03-29 16:01hgbotResolutionopen => fixed
2012-03-29 16:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7624afcf30fb7cdb29c33ed5ff0bddcf39f39a86 [^]
2012-03-29 18:57guilleaerNote Added: 0046946
2012-03-29 18:57guilleaerStatusresolved => closed
2012-03-29 18:57guilleaerFixed in Version => pi
2012-04-02 06:13hudsonbotCheckin
2012-04-02 06:13hudsonbotNote Added: 0047269

Notes
(0046892)
hgbot   
2012-03-29 16:00   
Repository: erp/devel/pi
Changeset: 7624afcf30fb7cdb29c33ed5ff0bddcf39f39a86
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 29 16:00:11 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7624afcf30fb7cdb29c33ed5ff0bddcf39f39a86 [^]

fixed bug 20153: Incorrect linked items to inaccessible windows

---
M src/org/openbravo/erpCommon/utility/UsedByLink.java
M src/org/openbravo/erpCommon/utility/UsedByLink_data.xsql
---
(0046946)
guilleaer   
2012-03-29 18:57   
Code reviewed and tested in pi@7624afcf30fb
(0047269)
hudsonbot   
2012-04-02 06:13   
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/7814864461ac [^]

Maturity status: Test