Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023155Openbravo ERPA. Platformpublic2013-02-25 10:222013-03-12 21:01
jonalegriaesarte 
shankarb 
normalmajorhave not tried
closedfixed 
5
 
3.0MP223.0MP22 
AugustoMauch
Core
No
0023155: Special characters not recognized when filtering in grid view
Special characters not recognized when filtering in grid view. For example | character is not filtered correctly, when filtering using a text field
- Product window
- New
- Search key: test
- Name: 24x25x63 cm|2345
- Save
- Filter by name, using: cm|
- Notice that the entry created does not appear
No tags attached.
diff FixIssue23155.diff (3,294) 2013-03-03 05:42
https://issues.openbravo.com/file_download.php?file_id=6011&type=bug
Issue History
2013-02-25 10:22jonalegriaesarteNew Issue
2013-02-25 10:22jonalegriaesarteAssigned To => AugustoMauch
2013-02-25 10:22jonalegriaesarteModules => Core
2013-02-25 10:22jonalegriaesarteTriggers an Emergency Pack => No
2013-02-28 09:03shankarbAssigned ToAugustoMauch => shankarb
2013-02-28 09:05shankarbFile Added: FixIssue23155.diff
2013-02-28 09:06shankarbFile Deleted: FixIssue23155.diff
2013-03-03 05:42shankarbFile Added: FixIssue23155.diff
2013-03-03 05:43shankarbStatusnew => scheduled
2013-03-03 05:43shankarbNote Added: 0056952
2013-03-03 05:43shankarbfix_in_branch => pi
2013-03-07 12:12shankarbReview Assigned To => AugustoMauch
2013-03-07 12:12shankarbfix_in_branchpi =>
2013-03-07 12:12shankarbIssue Monitored: AugustoMauch
2013-03-07 12:13hgbotCheckin
2013-03-07 12:13hgbotNote Added: 0057124
2013-03-07 12:13hgbotStatusscheduled => resolved
2013-03-07 12:13hgbotResolutionopen => fixed
2013-03-07 12:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9a13f81040018cbc40486b3847a618ed5a276ba7 [^]
2013-03-12 21:01AugustoMauchNote Added: 0057214
2013-03-12 21:01AugustoMauchStatusresolved => closed
2013-03-12 21:01AugustoMauchFixed in Version => 3.0MP22

Notes
(0056952)
shankarb   
2013-03-03 05:43   
Issue fixed. Patch is attached to the issue. Will be pushed only pi is open for MP22 issues.
(0057124)
hgbot   
2013-03-07 12:13   
Repository: erp/devel/pi
Changeset: 9a13f81040018cbc40486b3847a618ed5a276ba7
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Mar 07 16:41:58 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9a13f81040018cbc40486b3847a618ed5a276ba7 [^]

Fixes Issue 0023155: Special characters not recognized when filtering in grid view

If the character to be compared is a special character, an escape character '|' was added.
But if the character is '|' , and if the type is char, appending a char '|' again results in adding its ascii value (124) so the text is modified as "filter_string"248.
Modified the type of escape character to string for the this replace alone. The rest of the code uses the char definition of escape character.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
(0057214)
AugustoMauch   
2013-03-12 21:01   
Code reviewed and verified in pi@85338ed3557c