Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016874Openbravo ERPA. Platformpublic2011-04-22 17:432012-04-02 06:11
mtaal 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0016874: Title of field with not-accessible entity still clickable
When an entity/window is not accessible then a field refering to that entity will not show a link in the field title (no link icon). However, the title is still clickable.

See for example the widget field in the widget instance window, in the FBI administrator role the widget class window is not accessible, still in the widget instance window this field title is clickable and will open the widget window (without showing data).

See ob-view-form.js the getTitleHTML method and in ob-smartclient.js the handleTitleClick and titleClick methods.
and in ob-formitem-widgets.js the linkButtonClick method, probably the same check as done in the getTitleHTML method should be done in the linkButtonClick to prevent the click from opening another window.
contrib
related to defect 0020457 closed AugustoMauch Link to window in the toolbar even if the role doesn't have access to the window 
Issue History
2011-04-22 17:43mtaalNew Issue
2011-04-22 17:43mtaalAssigned To => alostale
2011-04-22 17:43mtaalModules => Core
2011-05-02 10:37alostaleTag Attached: contrib
2011-05-02 10:52alostaleStatusnew => scheduled
2011-05-05 17:34dmitry_mezentsevNote Added: 0036409
2011-05-05 17:34dmitry_mezentsevTarget Version3.0RC7 => 3.0MP0
2011-06-02 10:53dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:41dmitry_mezentsevTarget Version3.0MP1 => 3.0MP3
2011-08-31 11:32jonalegriaesarteNote Added: 0040601
2011-08-31 11:32jonalegriaesarteTarget Version3.0MP3 => 3.0MP4
2011-09-27 13:03alostaleTarget Version3.0MP4 => 3.0MP5
2011-10-31 14:28alostaleTarget Version3.0MP5 => 3.0MP6
2011-11-15 08:41alostaleTag Attached: nextMP
2011-11-15 08:58alostaleTarget Version3.0MP6 =>
2012-03-20 16:02alostaleTag Detached: nextMP
2012-03-20 16:03alostaleAssigned Toalostale => guilleaer
2012-03-21 18:24hgbotCheckin
2012-03-21 18:24hgbotNote Added: 0046630
2012-03-21 18:24hgbotStatusscheduled => resolved
2012-03-21 18:24hgbotResolutionopen => fixed
2012-03-21 18:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6050377ac494886a53f696942471282458bbed50 [^]
2012-03-23 12:45marvintmStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047198
2012-05-09 15:01AugustoMauchRelationship addedrelated to 0020457

Notes
(0036409)
dmitry_mezentsev   
2011-05-05 17:34   
Does not fit RC7
(0040601)
jonalegriaesarte   
2011-08-31 11:32   
Due to the load with other issues we were not able to research this one for MP3, are planning MP4 for it now.
(0046630)
hgbot   
2012-03-21 18:24   
Repository: erp/devel/pi
Changeset: 6050377ac494886a53f696942471282458bbed50
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Mar 21 18:22:51 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6050377ac494886a53f696942471282458bbed50 [^]

Fixed issue 16874: The title is not clickable if the target is not accessible

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0047198)
hudsonbot   
2012-04-02 06:11   
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