Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026198Openbravo ERPA. Platformpublic2014-04-07 17:252014-05-07 18:11
caristu 
guillermogil 
urgentmajoralways
closedfixed 
5
pi 
3.0PR14Q33.0PR14Q3 
shankarb
Core
No
0026198: Display logics based on preferences are not working properly under some circumstances
Display logics based on preferences are not always working properly if there is not any module in "in development" status
1) Create this display logic for a tab: @MYPREF@='P'
Having no modules in "in development status" do
2) Using a user which have two roles, role a and role b, create a preference for role a: attribute= MYPREF value = P
3) Log in with role a, the tab is displayed
4) Log in with role b, the tab is displayed and it should not be displayed
Put any module in "in development"
5) Log in with role b, the tab is not displayed. This is correct.
No tags attached.
related to defect 0033799 closed NaroaIriarte AD_Role_ID system variable not working at tab level 
Issue History
2014-04-07 17:25caristuNew Issue
2014-04-07 17:25caristuAssigned To => AugustoMauch
2014-04-07 17:25caristuModules => Core
2014-04-07 17:25caristuResolution time => 1430604000
2014-04-07 17:25caristuTriggers an Emergency Pack => No
2014-04-09 08:47alostaleTarget Version => PR14Q3
2014-04-09 11:18caristuSummaryDisplay logic based on preferences are not working properly under some circumstances => Display logics based on preferences are not working properly under some circumstances
2014-04-09 11:18caristuDescription Updatedbug_revision_view_page.php?rev_id=5672#r5672
2014-04-14 17:18guillermogilAssigned ToAugustoMauch => guillermogil
2014-04-15 12:58guillermogilAssigned Toguillermogil => AugustoMauch
2014-04-15 17:52guillermogilAssigned ToAugustoMauch => guillermogil
2014-04-16 13:08guillermogilIssue Monitored: shankarb
2014-04-16 13:08guillermogilReview Assigned To => shankarb
2014-04-16 13:12hgbotCheckin
2014-04-16 13:12hgbotNote Added: 0066489
2014-04-16 13:12hgbotStatusnew => resolved
2014-04-16 13:12hgbotResolutionopen => fixed
2014-04-16 13:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8698d60bb9cf59ea791fc5fa55c5a44e3163bd7c [^]
2014-04-16 15:17guillermogilIssue End Monitor: shankarb
2014-04-16 15:17guillermogilIssue Monitored: dbaz
2014-04-16 15:17guillermogilReview Assigned Toshankarb => dbaz
2014-04-16 15:19hgbotCheckin
2014-04-16 15:19hgbotNote Added: 0066501
2014-04-29 11:11guillermogilIssue End Monitor: dbaz
2014-04-29 11:11guillermogilIssue Monitored: shankarb
2014-04-29 11:12guillermogilReview Assigned Todbaz => shankarb
2014-05-02 05:58shankarbNote Added: 0066775
2014-05-02 05:58shankarbStatusresolved => closed
2014-05-02 05:58shankarbFixed in Version => PR14Q3
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066941
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066946
2016-09-14 12:31caristuRelationship addedrelated to 0033799

Notes
(0066489)
hgbot   
2014-04-16 13:12   
Repository: erp/devel/pi
Changeset: 8698d60bb9cf59ea791fc5fa55c5a44e3163bd7c
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Apr 16 13:12:00 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8698d60bb9cf59ea791fc5fa55c5a44e3163bd7c [^]

Fixed issue 26198:Display logics based on preferences are not working properly
>
> SessionAttributesNames are now brought in the view and its values are set dinamically

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0066501)
hgbot   
2014-04-16 15:19   
Repository: erp/devel/pi
Changeset: ad890ff93c7ed96cb9e3809935867ac2081d5640
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Apr 16 15:18:59 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ad890ff93c7ed96cb9e3809935867ac2081d5640 [^]

Related to issue 26198: Added preferenceValues only to the view

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0066775)
shankarb   
2014-05-02 05:58   
Code reviewed and verified in pi changeset 6d818cd5ed38.
(0066941)
hudsonbot   
2014-05-07 18: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/02ca2648bcdc [^]
Maturity status: Test
(0066946)
hudsonbot   
2014-05-07 18: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/02ca2648bcdc [^]
Maturity status: Test