Problem with diacritics in search

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2012 05:15 AM
Hi,
I recently noticed that I have a problem with searching for special characters. The problem occurs only in Share, in Alfresco explorer everything is fine. Thanks to some guidance from Loftux on IRC, I enabled tomcat6 access log and found out that the initial passing of the search query is correct, but then some redirection takes place and the query gets messed up. This can be observed in the log file: http://pastebin.com/sMebqRqa - in the first line "Å›" is correctly converted to C5 but then, in line, 18 it's changed to something else.
I also setup similar alfresco instance on my laptop to test it, but everything was correct then.
Any ideas?
I recently noticed that I have a problem with searching for special characters. The problem occurs only in Share, in Alfresco explorer everything is fine. Thanks to some guidance from Loftux on IRC, I enabled tomcat6 access log and found out that the initial passing of the search query is correct, but then some redirection takes place and the query gets messed up. This can be observed in the log file: http://pastebin.com/sMebqRqa - in the first line "Å›" is correctly converted to C5 but then, in line, 18 it's changed to something else.
I also setup similar alfresco instance on my laptop to test it, but everything was correct then.
Any ideas?
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2012 07:56 AM
Hi
What have you got set for the URI encoding on your tomcat connector?
Check your config against that in the installer.
I have
URIEncoding="UTF-8"
I though %C5 was something else ??
Andy
What have you got set for the URI encoding on your tomcat connector?
Check your config against that in the installer.
I have
URIEncoding="UTF-8"
I though %C5 was something else ??
Andy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2012 04:10 AM
Hi Andy,
yes, I have this setup. It is the default config and I haven't change it.
Also, I was thinking that maybe I messed some files in webapps/share or alfresco, so I deleted both directories and redeployed. The problem still exists
yes, I have this setup. It is the default config and I haven't change it.
Also, I was thinking that maybe I messed some files in webapps/share or alfresco, so I deleted both directories and redeployed. The problem still exists

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2012 12:12 PM
Hi
Can you post the detail for the property/content, sample content, and a sample query that reproduces the problem?
Hopefully with a standard property.
I have a feeling there was an encoding fix somewhere in share but I can not recall it at the moment.
Andy
Can you post the detail for the property/content, sample content, and a sample query that reproduces the problem?
Hopefully with a standard property.
I have a feeling there was an encoding fix somewhere in share but I can not recall it at the moment.
Andy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 06:04 AM
Hi Andy,
so the thing is… I wanted to test it now and… it works correctly now. Don't know why and since when. I had no more ideas how to fix it myself so I ignored it for now and it started to work. The only thing I did, as far as I can tell, was to install JavaScript admin console from Share-extras package.
And regarding your question, I simply tried to search for "Å›" or any other polish character. The problem occured every time. I would still like to know the cause for this, even if now it works. I don't want it to come back unexpected
so the thing is… I wanted to test it now and… it works correctly now. Don't know why and since when. I had no more ideas how to fix it myself so I ignored it for now and it started to work. The only thing I did, as far as I can tell, was to install JavaScript admin console from Share-extras package.
And regarding your question, I simply tried to search for "Å›" or any other polish character. The problem occured every time. I would still like to know the cause for this, even if now it works. I don't want it to come back unexpected

