Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019321 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2011-12-16 13:51 | 2012-03-02 15:36 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP9 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 86ac4bc5c360 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | OpenJDK 1.6.0_22 | |||
OS Version | 3.1.5-1-ARCH | Database version | 9.1.2 | Ant version | 1.8.2 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019321: Values of columns marked as stored in session, are not properly calculated when navigating directly to a child record | |||||||
Description | Some display logic may depend on values of parent tabs. For this, the approach is to mark "Stored in Session" in the parent table and then use the value. When making a direct link to a child tab, it seems that this values are not properly handled, and the display logic fails. | |||||||
Steps To Reproduce | * As System Administrator role * Open: Window Tabs and Fields * Open any record of window type: Maintain * Navigate to the first tab, and scroll down and look for the following fields: New Function, Remove Function. Note: this fields shouldn't be present. * Now, search for a window of type: Pick and Execute * Open the first tab, and search for the same fields. Since the Window Type is marked as stored in session, the display logic works properly. * Close the Window * From the "Recent Documents" links in the Workspace, navigate directly to the latest visited tab. (Note: It should be from a Pick and Execute window) * The record opens correctly * Scroll down and try to look for the same fields. BOOM! The fields are not present * Open the parent tab, and visit the record in form view (stored in session values are recalculated) * Visit again the tab definition and look for the fields. Now they are present. | |||||||
Proposed Solution | * Fix the calculation of stored in session column values when visiting a record directly | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0045058) hgbot (developer) 2012-02-13 11:30 |
Repository: erp/devel/pi Changeset: 86ac4bc5c360e27673ef283f372728cfcc66e025 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Mon Feb 13 11:30:11 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/86ac4bc5c360e27673ef283f372728cfcc66e025 [^] Fixed issue 19321. Session variables will be computed correctly in case the Parent Id is 'null' (as a string) --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java --- |
(0045059) marvintm (viewer) 2012-02-13 11:33 |
The problem in this case was that the FIC was receiving a string whose value was "null", and it didn't set the parentId to a real null. Therefore, a parent record with id "null" was searched, even after having found a real parent record. Test plan: - Apart from testing the example described in the issue, test that all four FIC modes (NEW, EDIT, CHANGE, and SETSESSION) still work in a couple of windows. |
(0045132) dbaz (viewer) 2012-02-14 21:41 |
Reviewed @ changeset 15475 - 215fbb471eaa |
(0045833) hudsonbot (viewer) 2012-03-02 15:36 |
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/544d64e0c159 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2011-12-16 13:51 | iperdomo | New Issue | |
2011-12-16 13:51 | iperdomo | Assigned To | => alostale |
2011-12-16 13:51 | iperdomo | Web browser | => Google Chrome |
2011-12-16 13:51 | iperdomo | Modules | => Core |
2011-12-16 13:51 | iperdomo | OBNetwork customer | => No |
2012-02-03 11:44 | alostale | Assigned To | alostale => marvintm |
2012-02-13 11:30 | hgbot | Checkin | |
2012-02-13 11:30 | hgbot | Note Added: 0045058 | |
2012-02-13 11:30 | hgbot | Status | new => resolved |
2012-02-13 11:30 | hgbot | Resolution | open => fixed |
2012-02-13 11:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/86ac4bc5c360e27673ef283f372728cfcc66e025 [^] |
2012-02-13 11:33 | marvintm | Note Added: 0045059 | |
2012-02-14 21:41 | dbaz | Note Added: 0045132 | |
2012-02-14 21:41 | dbaz | Status | resolved => closed |
2012-02-14 21:41 | dbaz | Fixed in Version | => 3.0MP9 |
2012-03-02 15:36 | hudsonbot | Checkin | |
2012-03-02 15:36 | hudsonbot | Note Added: 0045833 |
Copyright © 2000 - 2009 MantisBT Group |