Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030295 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2015-06-29 13:08 | 2015-07-07 09:44 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | b691768c4ee7 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030295: In saved views with multiple criteria in one field, the uuid value is shown in the column header when filtering sometimes | |||||||
Description | When filtering on a FK column with two values, and then on a next column filtering a different FK for a unique value, the value shown on the last column is the uuid | |||||||
Steps To Reproduce | Steps to reproduce: 1. Go to Sales Order window 2. In grid view, filter business partner form the drop-down by "==Hoteles Buenas Noches, S.A. or ==Restaurantes Luna Llena, S.A." and Payment method "==Transferencia" 3. Save view as "test" 4. Reopen sales order window and apply the saved view "test" -> payment method filter shows its identifier ==A97CFD2AFC234B59BB0A72189BD8FC2A instead of ==Transferencia, making subsequent filtering actions fail. Notes: - If you filter business partner by just one value, behavior is always ok - If you move the column business partner after the column with a single filter, behavior seems to be OK too, however if business partner (or the column with several values selected from the drop down) is before payment method, behavior is wrong. | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0078622) hgbot (developer) 2015-07-02 11:17 |
Repository: erp/backports/3.0PR15Q3 Changeset: b691768c4ee7deb8367a060de07446e831ba8f5a Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Jul 02 11:16:52 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/b691768c4ee7deb8367a060de07446e831ba8f5a [^] Fixes issue 30295: uuid appear in saved views with multiple criteria on a field When a view is saved while any of its filters are currently using the 'id' filter type, the id and identifier of the selected options are stored in a cache. If we have multiple criteria on one field, an internal loop is executed to retrieve all the criterias in the getFKFilterAuxiliaryCache function. The problem was that this internal loop was using the same variable as the external one to insert those criterias into the cache. This caused that the subsequent filters for next fields were not being handled properly as the condition of the external loop was not being fulfilled anymore due to the increment done in the internal loop. This has been solved just using a new variable (j) in the internal loop. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js --- |
(0078695) alostale (manager) 2015-07-07 09:44 |
code reviewed tested: * Saved view * Default saved view * Direct link |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-01 12:27 | caristu | Type | defect => backport |
2015-07-01 12:27 | caristu | Target Version | => 3.0PR15Q3 |
2015-07-01 13:42 | caristu | Summary | The uuid value is shown in the column header when filtering. => In saved views with multiple criteria in one field, the uuid value is shown in the column header when filtering sometimes |
2015-07-02 09:04 | alostale | Tag Attached: Approved | |
2015-07-02 11:17 | hgbot | Checkin | |
2015-07-02 11:17 | hgbot | Note Added: 0078622 | |
2015-07-02 11:17 | hgbot | Status | scheduled => resolved |
2015-07-02 11:17 | hgbot | Resolution | open => fixed |
2015-07-02 11:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/b691768c4ee7deb8367a060de07446e831ba8f5a [^] |
2015-07-02 11:18 | caristu | Issue Monitored: alostale | |
2015-07-02 11:18 | caristu | Review Assigned To | => alostale |
2015-07-07 09:37 | alostale | Severity | major => minor |
2015-07-07 09:44 | alostale | Note Added: 0078695 | |
2015-07-07 09:44 | alostale | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |