Search and special charcaters

If you think that something doesn't work in Aware IM post your message here
Post Reply
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Search and special charcaters

Post by Hubertus »

Hello

I'm running AwareIM 2.2 on Linux using MySQL 5.0.24a.
Everytime I try to search/filter for values containing special characters like äöü (which are quite common in german) AwareIM drops an error.

When doing this via Standard/Search Object/All Objects [BO-Name] / Reduce-Extend Search then I see a Internal System Error and the output from Tomcat is
Filter query is null|null|False|FIND Kunde WHERE Kunde.Firma CONTAINS 'jörg'|10,PLZ^n^y^n^y,KdNr^n^y^n^y,Firma^n^y^n^y,Bemerkung^n^y^n^y,Ort^n^y^n^y,KHKID^n^y^n^y,Land^n^y^n^y,Anschrift^n^y^n^y,MatchCode^n^y^n^y,FirmaZusatz^n^y^n^y,-1,null,1,Edit~null~null~5~false~1~null~null~true~true,null,null,y,y,y|null|null
Redirecting to /runQuery.do?actionMethod=redisplayForm&rangeFormInfo=1%4020%40null%7Cnull%7CFalse%7CFIND+Kunde+WHERE+Kunde.Firma+CONTAINS+%27j%C3%B6rg%27%7C10%2CPLZ%5En%5Ey%5En%5Ey%2CKdNr%5En%5Ey%5En%5Ey%2CFirma%5En%5Ey%5En%5Ey%2CBemerkung%5En%5Ey%5En%5Ey%2COrt%5En%5Ey%5En%5Ey%2CKHKID%5En%5Ey%5En%5Ey%2CLand%5En%5Ey%5En%5Ey%2CAnschrift%5En%5Ey%5En%5Ey%2CMatchCode%5En%5Ey%5En%5Ey%2CFirmaZusatz%5En%5Ey%5En%5Ey%2C-1%2Cnull%2C1%2CEdit%7Enull%7Enull%7E5%7Efalse%7E1%7Enull%7Enull%7Etrue%7Etrue%2Cnull%2Cnull%2Cy%2Cy%2Cy%7Cnull%7Cnull%402%40True%40False%40False%40null%40null%403014%40null%400%400&actionCallStack=&processFrame=-1[__null__[__null__[0
ActionErrorException thrown with error key error.assertion
When doing this via a query with "[x] Use Form" then I get a A query with this name does not exist.
In this case Tomcat says:
Query is null|null|False|FIND Kunde WHERE Kunde.MatchCode CONTAINS 'jörg' ORDER BY Kunde.MatchCode|6,MatchCode^n^y^n^y,Firma^n^y^n^y,FirmaZusatz^n^y^n^y,Anschrift^n^y^n^y,PLZ^n^y^n^y,Ort^n^y^n^y,20,null,2,Edit~null~Main~5~false~1~null~null~true~true,Neue Bestellung~NeueBestellung~Kunde~0~false~1~null~null~true~true,null,null,y,y,y|null|null
ActionErrorException thrown with error key error.noquery
Please help ! This error is here since AwareIM 2.0 and *very* annoying when searching inside 15000 records.

Hubertus
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

What is the encoding that your browser is set to? Can you explicitly try to set it to ISO-8859-1?
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

My browser tells me that the page IS encoded with ISO-8859-1 !

What I forgot to mention in my previous post was that this issue has already been discussed in http://www.awareim.com/forum/viewtopic.php?t=1068

Hubertus
Post Reply