Bug 1147304 - Project search fails on special characters
Summary: Project search fails on special characters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.7
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 00:53 UTC by Damian Jansen
Modified: 2015-07-22 02:19 UTC (History)
3 users (show)

Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3693)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 02:19:48 UTC


Attachments (Terms of Use)
Screenshot of error (24.39 KB, image/png)
2014-09-29 00:53 UTC, Damian Jansen
no flags Details
redhat-menus project search not returning the correct result. (39.95 KB, image/png)
2014-10-01 04:21 UTC, Michelle Kim
no flags Details


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1123186 None None None Never

Internal Links: 1123186

Description Damian Jansen 2014-09-29 00:53:49 UTC
Created attachment 942094 [details]
Screenshot of error

Description of problem:
If the user creates a project with a name using special characters, such as "[RHEL] My Project", searching for "[RHEL]" will not show that project.

Version-Release number of selected component (if applicable):
3.5.0-SNAPSHOT (git-server-3.4.2-297-g18385b6)

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in, got to Projects, create new project
2. Enter a valid id, and a name of [project]my project, press save
3. Enter [project] into the top project search bar

Actual results:
No projects displayed

Expected results:
The [project]my project should be listed

Additional info:

Comment 2 Michelle Kim 2014-10-01 04:21:15 UTC
Created attachment 942912 [details]
redhat-menus project search not returning the correct result.

Comment 3 Michelle Kim 2014-10-01 04:26:18 UTC
I just find out that there is already a bug for the project search fails and it seems it is already verified and will go to 3.5 

release.https://bugzilla.redhat.com/show_bug.cgi?id=1102455

Would the 1102455 bug also fix this special character bug as well?

Comment 4 Ding-Yi Chen 2014-10-01 04:31:35 UTC
It can still reproduced in Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-build+verify-nightly-release-1167-299-ga85e7f8)

Comment 5 Alex Eng 2015-06-01 04:11:28 UTC
Pull request:

https://github.com/zanata/zanata-server/pull/839

Comment 6 Damian Jansen 2015-06-02 05:11:08 UTC
Verified at 1b2c207a1c0ec9eea604a00311c665cb36ae3a12


Note You need to log in before you can comment on or make changes to this bug.