Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022753 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2013-01-09 16:33 | 2013-01-10 20:31 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | a7600139e3c8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022753: Display logic for tabs work with session attributes, but not with preferences | |||||||
Description | Three types of variables can be used in a tab display logic: 1- Values of a ancestor tab field 2- Session attribute 3- Preference Currently 1) and 2) works, but not 3. | |||||||
Steps To Reproduce | - Use this display logic in the Lines tab of the Sales Order window: @StockReservations@!'' - As F&B admin, make sure that there is no value defined for the Enable Stock Reservations property. - Open Sales Order. The Lines tab should not be shown, but right now it is shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0055425) AugustoMauch (administrator) 2013-01-09 16:34 |
Test Plan: - Use this display logic in the Lines tab of the Sales Order window: @StockReservations@!'' - As F&B admin, make sure that there is no value defined for the Enable Stock Reservations property. - Open Sales Order. The Lines tab should not be shown - Add a preference for the property Enable Stock Reservations with value set to Y. - Log out and log in again to reload the preferences. - Open Sales Order again. The Lines tab should be shown. - Test that it is still possible to use session preferences (i.e. @ShowAcct@!'') and the values of fields of the ancestor tabs (i.e. @DocumentNo@!''). |
(0055426) hgbot (developer) 2013-01-09 16:44 |
Repository: erp/devel/pi Changeset: a7600139e3c89e5dee52d8517a9d39552343cfe2 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Jan 09 16:44:12 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a7600139e3c89e5dee52d8517a9d39552343cfe2 [^] Fixes issue 22753: Tab display logic works with preferences Preferences were being treated as fields, so its name was wrongly being converted to its inp form. Of the three types of variables that can be used in the display logic of a tab (session attributes, preferences and fields of the tab ancestors) only the fields have to be converted to its inp format. Both session attibutes and preference values can be included in the tab definition, because they are independent of the selected row. --- 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/OBViewTab.java --- |
(0055441) shankarb (viewer) 2013-01-10 06:51 |
Code Reviewed and tested in pi changeset 5205119c890b |
(0055469) hudsonbot (viewer) 2013-01-10 20:31 |
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/67a6d258fb63 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-01-09 16:33 | AugustoMauch | New Issue | |
2013-01-09 16:33 | AugustoMauch | Assigned To | => AugustoMauch |
2013-01-09 16:33 | AugustoMauch | Modules | => Core |
2013-01-09 16:33 | AugustoMauch | OBNetwork customer | => No |
2013-01-09 16:33 | AugustoMauch | Triggers an Emergency Pack | => No |
2013-01-09 16:34 | AugustoMauch | Note Added: 0055425 | |
2013-01-09 16:34 | AugustoMauch | Issue Monitored: dbaz | |
2013-01-09 16:34 | AugustoMauch | Issue End Monitor: dbaz | |
2013-01-09 16:34 | AugustoMauch | Issue Monitored: shankarb | |
2013-01-09 16:35 | AugustoMauch | Review Assigned To | => shankarb |
2013-01-09 16:44 | hgbot | Checkin | |
2013-01-09 16:44 | hgbot | Note Added: 0055426 | |
2013-01-09 16:44 | hgbot | Status | new => resolved |
2013-01-09 16:44 | hgbot | Resolution | open => fixed |
2013-01-09 16:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a7600139e3c89e5dee52d8517a9d39552343cfe2 [^] |
2013-01-10 06:51 | shankarb | Note Added: 0055441 | |
2013-01-10 06:51 | shankarb | Status | resolved => closed |
2013-01-10 06:51 | shankarb | Fixed in Version | => pi |
2013-01-10 20:31 | hudsonbot | Checkin | |
2013-01-10 20:31 | hudsonbot | Note Added: 0055469 |
Copyright © 2000 - 2009 MantisBT Group |