Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028872Openbravo ERPA. Platformpublic2015-02-05 13:172015-02-09 09:00
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q2 
alostale
Core
No
0028872: Opening the popup of a tree item with a partial filter does not return any results
If a partial filter is entered in a tree item (i.e. any string that is not a full item identifier) and the user opens the tree popup, initially the popup will not show any results. Once the user clears the filters the proper records will be shown.
-Apply the provided patch. It adds a tree field to the Characteristics tab of the Product window.
As F&B International Group Admin
-Go to Product characteristics window:
   create a new register for orgnization: *
   Variant: No
   name: TEST
-Go to values tab:
     create two registers:
       1- name: one
       2.-name: two
-Go to Product window:
   create a new register
   orgnization: *
   is generic: yes
-Go to Characteristics tab:
    open the drop down of the tree field.
    enter 'n' in the tree item
    open the tree popup
    check that no records are shown (this is wrong)
    clear the filters
    check that the two records are properly shown
No tags attached.
related to defect 0028843 closed AugustoMauch Characteristic selector not show all values 
diff test28872.diff (8,098) 2015-02-05 13:18
https://issues.openbravo.com/file_download.php?file_id=7772&type=bug
Issue History
2015-02-05 13:17AugustoMauchNew Issue
2015-02-05 13:17AugustoMauchAssigned To => AugustoMauch
2015-02-05 13:17AugustoMauchModules => Core
2015-02-05 13:17AugustoMauchTriggers an Emergency Pack => No
2015-02-05 13:18AugustoMauchFile Added: test28872.diff
2015-02-05 13:19AugustoMauchRelationship addedrelated to 0028843
2015-02-05 13:21AugustoMauchIssue Monitored: alostale
2015-02-05 13:22AugustoMauchReview Assigned To => alostale
2015-02-05 13:22hgbotCheckin
2015-02-05 13:22hgbotNote Added: 0074228
2015-02-05 13:22hgbotStatusnew => resolved
2015-02-05 13:22hgbotResolutionopen => fixed
2015-02-05 13:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d8fa177826050f3ea42a611018b3d9caf75257e7 [^]
2015-02-06 15:42hudsonbotCheckin
2015-02-06 15:42hudsonbotNote Added: 0074259
2015-02-09 09:00alostaleNote Added: 0074265
2015-02-09 09:00alostaleStatusresolved => closed
2015-02-09 09:00alostaleFixed in Version => 3.0PR15Q2

Notes
(0074228)
hgbot   
2015-02-05 13:22   
Repository: erp/devel/pi
Changeset: d8fa177826050f3ea42a611018b3d9caf75257e7
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Feb 05 13:21:49 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d8fa177826050f3ea42a611018b3d9caf75257e7 [^]

Fixes bug 28872: Tree item popup is loaded properly when using a partial filter

The problem was that if a partial filter was entered in the tree item (as opposed to a tree item value selected), when the popup was opened that partial filter was being used to filter the nodes by their id.

Now before creating that criteria it is checked that the value entered in the tree item actually is the id of a selected item.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree.js
---
(0074259)
hudsonbot   
2015-02-06 15:42   
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/354f8004acc8 [^]
Maturity status: Test
(0074265)
alostale   
2015-02-09 09:00   
code reviewed + tested