Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024951Openbravo ERPA. Platformpublic2013-10-15 13:392013-10-24 20:04
marvintm 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
3.0MP293.0MP29 
shankarb
Core
QA functional test
2013-10-15
https://code.openbravo.com/erp/devel/pi/rev/94d0fb151919 [^]
No
0024951: Small problem with tab display logic and datasources
There is a problem currently on pi related to the Tab display logic. If there is a display logic expression defined for a tab, and the properties in this expression are not shown in grid view, then the display logic doesn't work.

This seems to be a regression included as part of the project to restrict the loaded properties in datasources.
- Define a tab with a grid which doesn't show all the properties
- Define a child tab for this tab. In this child tab add a display logic, which references a property which is not shown by default on the grid of the parent tab.
- Notice that the display logic doesn't work correctly for the tab, unless you are in form view.
No tags attached.
related to defect 00253873.0MP31 closed alostale unneeded flushes in view generation 
Issue History
2013-10-15 13:39marvintmNew Issue
2013-10-15 13:39marvintmAssigned To => AugustoMauch
2013-10-15 13:39marvintmModules => Core
2013-10-15 13:39marvintmTriggers an Emergency Pack => No
2013-10-15 13:40marvintmRegression level => QA functional test
2013-10-15 13:40marvintmRegression date => 2013-10-15
2013-10-15 13:40marvintmRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/94d0fb151919 [^]
2013-10-23 11:02AugustoMauchIssue Monitored: shankarb
2013-10-23 11:02AugustoMauchReview Assigned To => shankarb
2013-10-23 11:05hgbotCheckin
2013-10-23 11:05hgbotNote Added: 0061863
2013-10-23 11:05hgbotStatusnew => resolved
2013-10-23 11:05hgbotResolutionopen => fixed
2013-10-23 11:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/16187b3a7c1e4d6693bbe8cee6b074c0922a575b [^]
2013-10-24 09:04shankarbNote Added: 0061876
2013-10-24 09:04shankarbStatusresolved => closed
2013-10-24 09:04shankarbFixed in Version => 3.0MP29
2013-10-24 20:04hudsonbotCheckin
2013-10-24 20:04hudsonbotNote Added: 0061888
2013-12-20 12:42alostaleRelationship addedrelated to 0025387

Notes
(0061863)
hgbot   
2013-10-23 11:05   
Repository: erp/devel/pi
Changeset: 16187b3a7c1e4d6693bbe8cee6b074c0922a575b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Oct 23 11:04:37 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/16187b3a7c1e4d6693bbe8cee6b074c0922a575b [^]

Fixes issue 24951: Grid always fetches properties used in subtabs display logic

In order for the display logics of a subtab to be evaluated properly, the properties that belong to an ancestor tab must be loaded in that tab.

A new utility method called getTabSubtabs has been added to the KernelUtils class.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/DynamicExpressionParser.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils_data.xsql
---
(0061876)
shankarb   
2013-10-24 09:04   
Code reviewed and verified in pi changeset e3a359452601.
(0061888)
hudsonbot   
2013-10-24 20:04   
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/d0465c5073ba [^]

Maturity status: Test