Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028246 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2014-11-21 12:18 | 2014-12-30 23:26 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 757e2d4d064c | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 32597 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028246: Grids with display logics in Process Definitions are not automatically fetched | |||||||
Description | Having a Process Definition that has a Grid type parameter with a display logic depending on the value of another parameter. In this scenario, the grid data is never fetched automatically. If the grid is filtered by any field then a fetch is done and the data is shown. The grid should be automatically fetched when it is displayed. | |||||||
Steps To Reproduce | In Description | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0072017) hgbot (developer) 2014-11-26 10:36 |
Repository: erp/devel/pi Changeset: 757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Nov 26 10:34:40 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd [^] Fixes issue 28246: Grid parameters are loaded even if they have display logic The problem was that the grid parameters were only being automatically loaded when they did not have display logic. If they had display logic the user had either to programatically load the grid, or change the grid filter editor. To fix this, now it is detected when a grid is shown for the very first time (in that case its data property will not be a ResultSet, as it has not been loaded yet), and it is loaded then. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
(0072031) hgbot (developer) 2014-11-26 13:51 |
Repository: erp/devel/pi Changeset: 0bdb0cb683ede5d19d2b53d2f5695987de9388dd Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Nov 26 13:38:02 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/0bdb0cb683ede5d19d2b53d2f5695987de9388dd [^] Related with bug 28246: Filter expression not reset after clearing the filters The following problem has been detected while doing the QA for issue 28246: If a grid parameter has a display logic and a filter expression, then when the user clears the filter the filter expression will be momentarily removed, and then reset again. This happened because there was some code that tried to guarantee that the grid was loaded the first time that is was made visible and that had the filter expression applied, but was not checking properly that the grid was not loaded yet. This resulted in reapplying the filter expression each time the grid is redrawn. This has been fixed by checking properly if the grid has already loaded its data (in that case its data property will be an instance of ResultSet). --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
(0072182) Sandrahuguet (viewer) 2014-12-01 12:06 |
Test Plan: -Go to Preference window and create new line for 'RM Allow Orphan Line' property with value 'Y' -Go to Return to vendor, create a new header for F&B EspaƱa and click on Pick/Edit Lines button notice that only one grid appears. -Close the popup -Click on Insert Orphan line button and and complete the popup fields with these data: Product: Agua sin Gas 1L Returned: 10 Unit Price:1 -Click again in Pick/Edit Lines button and notice that Orphan Lines grid is shown and having data |
(0072183) Sandrahuguet (viewer) 2014-12-01 12:07 |
Verified |
(0073143) hudsonbot (viewer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
(0073146) hudsonbot (viewer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
(0073147) hudsonbot (viewer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-11-21 12:18 | caristu | New Issue | |
2014-11-21 12:18 | caristu | Assigned To | => AugustoMauch |
2014-11-21 12:18 | caristu | OBNetwork customer | => Yes |
2014-11-21 12:18 | caristu | Modules | => Core |
2014-11-21 12:18 | caristu | Support ticket | => 32597 |
2014-11-21 12:18 | caristu | Triggers an Emergency Pack | => No |
2014-11-21 12:18 | caristu | Issue Monitored: networkb | |
2014-11-21 12:18 | caristu | version | => pi |
2014-11-21 12:18 | caristu | Target Version | => 3.0PR15Q1 |
2014-11-26 10:34 | AugustoMauch | Issue Monitored: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Issue End Monitor: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Issue Monitored: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Review Assigned To | => Sandrahuguet |
2014-11-26 10:36 | hgbot | Checkin | |
2014-11-26 10:36 | hgbot | Note Added: 0072017 | |
2014-11-26 10:36 | hgbot | Status | new => resolved |
2014-11-26 10:36 | hgbot | Resolution | open => fixed |
2014-11-26 10:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd [^] |
2014-11-26 13:51 | hgbot | Checkin | |
2014-11-26 13:51 | hgbot | Note Added: 0072031 | |
2014-12-01 12:06 | Sandrahuguet | Note Added: 0072182 | |
2014-12-01 12:07 | Sandrahuguet | Note Added: 0072183 | |
2014-12-01 12:07 | Sandrahuguet | Status | resolved => closed |
2014-12-01 12:07 | Sandrahuguet | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073143 | |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073146 | |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073147 |
Copyright © 2000 - 2009 MantisBT Group |