Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020506Openbravo ERPB. User interfacepublic2012-05-15 13:522012-05-25 12:12
iperdomo 
marvintm 
urgentminorsometimes
closedfixed 
303.3.6-1-ARCH
main 
3.0MP11 
Google Chrome
Core
No
0020506: Default filter value is not shown in selector grid the first time you open it
Due to a change in the FormItem default behavior (issue 0020330), the default filter value is not shown the first time you open a selector window.
* Login into the application
* Create a new Sales Order (fill in required fields and save)
* Create a new Sales Order Line
* Open the Product selector
* See the values of the "Warehouse" and "Price List Version" columns
* The value is not shown until the user clicks the drop-down to show the available list
Set the value map when calculating the default values (the action before opening the window)
Regression QA
related to defect 00203303.0MP11 closed iperdomo Performance problem when clicking on the checbox of the pickandexecute refernce when having a lot of rows on m_producprice table 
related to design defect 0020513 scheduled marvintm Refactor the way of setting the valueMap on a OBSelectorFilterItem and avoid a unnecessary datasource fetch 
png selector-filter-item.png (124,033) 2012-05-15 13:52
https://issues.openbravo.com/file_download.php?file_id=5222&type=bug
png
Issue History
2012-05-15 13:52iperdomoNew Issue
2012-05-15 13:52iperdomoAssigned To => dbaz
2012-05-15 13:52iperdomoFile Added: selector-filter-item.png
2012-05-15 13:52iperdomoWeb browser => Google Chrome
2012-05-15 13:52iperdomoModules => Core
2012-05-15 13:52iperdomoAssigned Todbaz => alostale
2012-05-15 13:53iperdomoRelationship addedrelated to 0020330
2012-05-15 15:47alostaleTag Attached: Regression QA
2012-05-15 16:09alostaleAssigned Toalostale => marvintm
2012-05-15 16:18hgbotCheckin
2012-05-15 16:18hgbotNote Added: 0048653
2012-05-15 16:18hgbotStatusnew => resolved
2012-05-15 16:18hgbotResolutionopen => fixed
2012-05-15 16:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/43022c08ec0b05792dd42d8e35dd6872d6624780 [^]
2012-05-15 16:31iperdomoNote Added: 0048654
2012-05-15 16:31iperdomoStatusresolved => closed
2012-05-15 16:31iperdomoFixed in Version => 3.0MP11
2012-05-15 16:39iperdomoRelationship addedrelated to 0020513
2012-05-25 12:12hudsonbotCheckin
2012-05-25 12:12hudsonbotNote Added: 0049133

Notes
(0048653)
hgbot   
2012-05-15 16:18   
Repository: erp/devel/pi
Changeset: 43022c08ec0b05792dd42d8e35dd6872d6624780
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue May 15 16:16:24 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/43022c08ec0b05792dd42d8e35dd6872d6624780 [^]

Fixed issue 20506. Reset the fetchMissingValues property, but only for the selector filter items.
This forces a fetch if the selected value is missing, which means that the selected value in the combo is correctly shown when the selector popup is first opened.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js
---
(0048654)
iperdomo   
2012-05-15 16:31   
Tested on pi @ rev 43022c08ec0b

The fetchMissingValues was reset to the default value: true
This triggers a fetch() on the data source associated with the FilterPropertiesItem
(0049133)
hudsonbot   
2012-05-25 12:12   
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/5401e185a8b0 [^]

Maturity status: Test