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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023155
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2013-02-25 10:222013-03-12 21:01
ReporterjonalegriaesarteView Statuspublic 
Assigned Toshankarb 
PrioritynormalResolutionfixedFixed in Version3.0MP22
StatusclosedFix in branchFixed in SCM revision9a13f8104001
ProjectionnoneETAnoneTarget Version3.0MP22
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023155: Special characters not recognized when filtering in grid view

DescriptionSpecial characters not recognized when filtering in grid view. For example | character is not filtered correctly, when filtering using a text field
Steps To Reproduce- Product window
- New
- Search key: test
- Name: 24x25x63 cm|2345
- Save
- Filter by name, using: cm|
- Notice that the entry created does not appear
TagsNo tags attached.
Attached Filesdiff file icon FixIssue23155.diff [^] (3,294 bytes) 2013-03-03 05:42 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0056952)
shankarb (reporter)
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 (developer)
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 (manager)
2013-03-12 21:01

Code reviewed and verified in pi@85338ed3557c

- Issue History
Date Modified Username Field Change
2013-02-25 10:22 jonalegriaesarte New Issue
2013-02-25 10:22 jonalegriaesarte Assigned To => AugustoMauch
2013-02-25 10:22 jonalegriaesarte Modules => Core
2013-02-25 10:22 jonalegriaesarte Triggers an Emergency Pack => No
2013-02-28 09:03 shankarb Assigned To AugustoMauch => shankarb
2013-02-28 09:05 shankarb File Added: FixIssue23155.diff
2013-02-28 09:06 shankarb File Deleted: FixIssue23155.diff
2013-03-03 05:42 shankarb File Added: FixIssue23155.diff
2013-03-03 05:43 shankarb Status new => scheduled
2013-03-03 05:43 shankarb Note Added: 0056952
2013-03-03 05:43 shankarb fix_in_branch => pi
2013-03-07 12:12 shankarb Review Assigned To => AugustoMauch
2013-03-07 12:12 shankarb fix_in_branch pi =>
2013-03-07 12:12 shankarb Issue Monitored: AugustoMauch
2013-03-07 12:13 hgbot Checkin
2013-03-07 12:13 hgbot Note Added: 0057124
2013-03-07 12:13 hgbot Status scheduled => resolved
2013-03-07 12:13 hgbot Resolution open => fixed
2013-03-07 12:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9a13f81040018cbc40486b3847a618ed5a276ba7 [^]
2013-03-12 21:01 AugustoMauch Note Added: 0057214
2013-03-12 21:01 AugustoMauch Status resolved => closed
2013-03-12 21:01 AugustoMauch Fixed in Version => 3.0MP22


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker