Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028386 | Openbravo ERP | A. Platform | public | 2014-12-11 13:43 | 2014-12-30 23:28 |
|
Reporter | inigosanchez | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q1 | |
Merge Request Status | |
Review Assigned To | dbaz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Packaging and release |
Regression date | 2014-07-14 |
Regression introduced in release | pi |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/fab9b7248bbb [^] |
Triggers an Emergency Pack | No |
|
Summary | 0028386: FK filter dropdown show only previously selected elements when it is reopened |
Description | Selectors are not filtering properly when collapsed and reopen the dropdown. |
Steps To Reproduce | 1) Go to the Sales order window and clear filters.
2) Open dropdown and select filter: F&B Spain - Region Sur.
3) Then, collapsed and reopen dropdown. Realize that you can not see the other organizations to filtering.
4) Now, blur the filter and select "Document No" and realize that a reload is done. No select any filter.
5) Reopen organization dropdown and you can see all the organizations.
http://screencast.com/t/39zGXqjaKGUH [^] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0026700 | | closed | shankarb | Wrong request after filtering in a field with combo and do blur in other field in pick and edit windows | caused by | design defect | 0025211 | | closed | AugustoMauch | Filter by selected value in FK uses identifier instead of ID | related to | defect | 0028388 | | closed | alostale | Unexpected behavior after reopen "Transaction Document" dropdown selector with selected filter. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-12-11 13:43 | inigosanchez | New Issue | |
2014-12-11 13:43 | inigosanchez | Assigned To | => alostale |
2014-12-11 13:43 | inigosanchez | Modules | => Core |
2014-12-11 13:43 | inigosanchez | Regression date | => 2014-07-14 |
2014-12-11 13:43 | inigosanchez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/fab9b7248bbb [^] |
2014-12-11 13:43 | inigosanchez | Triggers an Emergency Pack | => No |
2014-12-12 15:28 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7269#r7269 |
2014-12-12 15:29 | alostale | Note Added: 0072458 | |
2014-12-12 15:40 | alostale | Relationship added | related to 0028388 |
2014-12-16 08:23 | alostale | Relationship added | caused by 0025211 |
2014-12-16 08:24 | alostale | Regression level | => Packaging and release |
2014-12-16 08:24 | alostale | Regression introduced in release | => pi |
2014-12-16 10:05 | alostale | Relationship added | related to 0026700 |
2014-12-16 10:08 | alostale | Note Edited: 0072458 | bug_revision_view_page.php?bugnote_id=0072458#r7275 |
2014-12-16 14:51 | alostale | Review Assigned To | => dbaz |
2014-12-16 14:51 | alostale | Summary | Selectors are not filtering properly when collapsed and reopen the dropdown. => FK filter dropdown show only previously selected elements when it is reopened |
2014-12-16 14:58 | hgbot | Checkin | |
2014-12-16 14:58 | hgbot | Note Added: 0072553 | |
2014-12-16 14:58 | hgbot | Status | new => resolved |
2014-12-16 14:58 | hgbot | Resolution | open => fixed |
2014-12-16 14:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c6764c78201bd1efd5bcf503561460b3bdf12e40 [^] |
2014-12-16 15:00 | alostale | Note Added: 0072555 | |
2014-12-17 13:19 | dbaz | Note Added: 0072635 | |
2014-12-17 13:19 | dbaz | Status | resolved => new |
2014-12-17 13:19 | dbaz | Resolution | fixed => open |
2014-12-17 17:15 | hgbot | Checkin | |
2014-12-17 17:15 | hgbot | Note Added: 0072660 | |
2014-12-17 17:15 | hgbot | Status | new => resolved |
2014-12-17 17:15 | hgbot | Resolution | open => fixed |
2014-12-17 17:15 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/c6764c78201bd1efd5bcf503561460b3bdf12e40 [^] => http://code.openbravo.com/erp/devel/pi/rev/41237421d0722987b59c0b22193f363fa6c4ae44 [^] |
2014-12-22 10:40 | dbaz | Note Added: 0072757 | |
2014-12-22 10:40 | dbaz | Status | resolved => closed |
2014-12-22 10:40 | dbaz | Fixed in Version | => 3.0PR15Q4 |
2014-12-23 15:53 | dbaz | Fixed in Version | 3.0PR15Q4 => 3.0PR15Q1 |
2014-12-24 11:09 | hgbot | Checkin | |
2014-12-24 11:09 | hgbot | Note Added: 0072812 | |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073222 | |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073237 | |
Notes |
|
(0072458)
|
alostale
|
2014-12-12 15:29
(edited on: 2014-12-16 10:08) |
|
In the reload of step 4, filter criteria is changed from filtering by ID to identifier iEquals
|
|
|
(0072553)
|
hgbot
|
2014-12-16 14:58
|
|
Repository: erp/devel/pi
Changeset: c6764c78201bd1efd5bcf503561460b3bdf12e40
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Dec 16 14:57:28 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c6764c78201bd1efd5bcf503561460b3bdf12e40 [^]
fixed bug 28386: FK filter dropdown hides elements when it's reopened
When a FK filter drop down was reopened after having selected an element, it
only displayed that element in the list.
Few things have been fixed:
* When requesting datasource for FK drop down, the same criteria used in the
grid is used, but removing that drop down criterion. This was not properly
done for direct FK selection
* == element before the identifier was some times removed
* When reopening a drop down having an element selected, the criteria was changed
from equals with FK value to iEquals with identifier value
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
|
|
|
|
Tested with different filter combinations: single item selected, multiple items, in one or many FK filters both in standard and P&E windows |
|
|
(0072635)
|
dbaz
|
2014-12-17 13:19
|
|
In "Sales Order" window using the mouse:
* Open the "Business Partner" dropdown list
* Select "F&B España - Región Sur"
* Close the combo
* Open the combo again. Notice that the "F&B España - Región Sur" item is selected (that's ok)
* Close the combo
* Open the combo again. Notice that the "F&B España - Región Sur" item is NOT selected (that's wrong)
Tested with Chrome and Firefox |
|
|
(0072660)
|
hgbot
|
2014-12-17 17:15
|
|
Repository: erp/devel/pi
Changeset: 41237421d0722987b59c0b22193f363fa6c4ae44
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 17 17:14:25 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/41237421d0722987b59c0b22193f363fa6c4ae44 [^]
fixed bug 28386: keep selected item when reopening FK drop down
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
|
|
|
(0072757)
|
dbaz
|
2014-12-22 10:40
|
|
Fixed at reviewed @ changeset 25583 - bd07f4b5032c |
|
|
(0072812)
|
hgbot
|
2014-12-24 11:09
|
|
Repository: tools/automation/int
Changeset: 335263f89e3e4b98cfea556c6de332082322ec42
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Dec 19 15:27:46 2014 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/335263f89e3e4b98cfea556c6de332082322ec42 [^]
related to bug 28386: FK filter dropdown show only previously selected elements
added selenium test case
---
M src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/GridSuite.java
M src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/build.xml
A src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/GRD0210_ReopenFilterDropDown.java
---
|
|
|
|
|
|
|
|