Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017759
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-06-21 17:082011-08-03 08:03
ReporteregoitzView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchpiFixed in SCM revisionae37bf8bbd8a
ProjectionnoneETAnoneTarget Version3.0MP2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesUser Interface Selector
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017759: The popup of selector does not filter properly when defining "start with" filtering

DescriptionThe popup of selector does not filter properly when defining "start with" filtering.
The popup filters only with content.

Steps To Reproduce-Access as System Administratro
-Go to tables and columns window.
-Find c_orderline table, and m_product_id column
-Check the reference assigned to this product.
  The reference is Product.
-go to "defined selector tab" and look that "Popup Text Match Style" combo has the value "start with" selected.

-Logout
-Login as Openbravo admin
-Go to sales order window.
-Create a header and go to lines.
-Click on new.
-Open the product popup select
-Try filtering the products that start with A.
*See that the filtering is done with content instead of "Start with"

The same problem happens while filtering on the selector without open the popup
althogh the filtering is also set to "Starts with"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0035956 closedalostale The numeric field filter does not work with operators in HQL based selectors 

-  Notes
(0039088)
hgbot (developer)
2011-07-15 13:24

Repository: erp/devel/pi
Changeset: ae37bf8bbd8a2c44eb6fdc5405b938e7fcd2221a
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jul 15 13:23:05 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ae37bf8bbd8a2c44eb6fdc5405b938e7fcd2221a [^]

Fixes issue 0017759: The popup of selector does not filter properly when defining "start with" filtering
It has been added to the OBGrid js object the correct operator property in fields and also has been modified the class CustomQuerySelectorDatasource to take into account the operator value

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0039091)
adrianromero (manager)
2011-07-15 13:30

* Testing the issue

Follow the steps to test and verify that now when filtering in the Products selector the criteria is "Starts with", if writting "A", it only shows the products starting by "A"

Verify also that the Business Partners Selector also filters with the criteria "Starts with" In the Business Partners case the error was in the datasource. Previous to this fix, the selector data source for Business partners did not take into account the filter criteria, it was hardcoded.

* Other areas affected

It has been modified only the creation of the selector grid in javascript and the HQL sentence generation in the custom selector datasource, no other areas affected.
(0039602)
hudsonbot (developer)
2011-08-01 14:19

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/cf2afed6e8ef [^]

Maturity status: Test
(0039792)
egoitz (developer)
2011-08-03 08:03

Verified. Working properly now.

- Issue History
Date Modified Username Field Change
2011-06-21 17:08 egoitz New Issue
2011-06-21 17:08 egoitz Assigned To => alostale
2011-06-21 17:08 egoitz Modules => User Interface Selector
2011-06-21 17:10 egoitz Note Added: 0038417
2011-06-21 17:10 egoitz Priority urgent => high
2011-06-21 17:10 egoitz Severity major => minor
2011-06-21 17:10 egoitz Target Version 3.0MP3 => 3.0MP2
2011-06-21 17:56 egoitz Note Deleted: 0038417
2011-06-21 17:57 egoitz Steps to Reproduce Updated View Revisions
2011-06-27 10:40 alostale Status new => scheduled
2011-06-27 10:40 alostale Assigned To alostale => iperdomo
2011-06-27 10:40 alostale fix_in_branch => pi
2011-07-13 13:22 iperdomo Assigned To iperdomo => adrianromero
2011-07-15 13:24 hgbot Checkin
2011-07-15 13:24 hgbot Note Added: 0039088
2011-07-15 13:24 hgbot Status scheduled => resolved
2011-07-15 13:24 hgbot Resolution open => fixed
2011-07-15 13:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ae37bf8bbd8a2c44eb6fdc5405b938e7fcd2221a [^]
2011-07-15 13:30 adrianromero Note Added: 0039091
2011-08-01 14:19 hudsonbot Checkin
2011-08-01 14:19 hudsonbot Note Added: 0039602
2011-08-03 08:03 egoitz Note Added: 0039792
2011-08-03 08:03 egoitz Status resolved => closed
2011-08-03 08:03 egoitz Fixed in Version => 3.0MP2
2017-05-25 08:38 caristu Relationship added blocks 0035956


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker