Bug 524927

Summary: Internal Server Error when search contains some characters
Product: [Retired] freeIPA Reporter: Tomasz 'Zen' Napierala <tomasz>
Component: WebUIAssignee: Rob Crittenden <rcritten>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: benl, dpal, jgalipea
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-03 20:16:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 246164    

Description Tomasz 'Zen' Napierala 2009-09-22 18:03:28 UTC
Description of problem:
Putting some characters in searchbox when searching for users (not groups) is throwing 500 error:
An unexpected error occured
HTTP Error Message:

500 - Internal Server Error

Version-Release number of selected component (if applicable):
1.2.1-2.fc10.x86_64

How reproducible:
Almost every time when specific character is used as search string

Steps to Reproduce:
1. Put one character (especially polish diacritics ŁłŃń) in searchbox, select Users (default)
2. Click on "Search" button or hit enter 

Actual results:
An unexpected error occured
HTTP Error Message:

500 - Internal Server Error


Expected results:
User found or no results 

Additional info:
I can't find regular pattern in characters. The more characters I was trying, the more error results I was having. Some character, that previously were perfectly OK, started throwing errors. Looks like memory leak. Apache and ipa_webgui restart didn't help
Please let me know if you need more debugging (but keep in mind that this is production system)

Comment 1 Rob Crittenden 2009-09-23 13:52:37 UTC
IPA v1 doesn't handle non-ASCII character sets very well. We added support in a couple of places but more and more kept appearing. We're addressing this in v2 where we are re-architecting it to handle this better.

Comment 2 Rob Crittenden 2010-02-03 20:16:26 UTC
I'm going to go ahead and close this as WONTFIX as we aren't planning on addressing this in IPA v1.x