Hide Forgot
Description of problem: The project search field failed to found existing project using the project name. Version-Release number of selected component (if applicable): Zanata 3.3.0-SNAPSHOT (20131217-0036) How reproducible: Always Steps to Reproduce: 1. Login to Zanata 2. Click Projects 3. Copy the project name of any existing project, and paste in to project search field. 4. Press enter Actual results: Found 0 Projects matching query 'About' Expected results: At least found the project you copy from. Additional info:
Please make sure the test instance has indexing done on Project.
After further digging I found out that the search only works only if it contains only the lower case and number. It wont' work when it contains other characters like upper case, '-', spaces and other character like '"'. Steps to Reproduce: 1. Login to Zanata 2. Click Projects 3. Find a project that contains upper case, spaces or dash. 4. Copy and paste the project name to project search field. 5. Press enter Actual results: Found 0 Projects matching query. Expected results: At least found the project you copy from.
Pull request: https://github.com/zanata/zanata-server/pull/329
Given that we are using hibernate search features, there's some limitation apply to it (ignore symbol e.g. quotes and hyphen). This issue can be solve using different type of analyzer, but that will remove the current implement of prefix string search. With recent changes (autocomplete and case insensitive, string prefix search), I think it covers most of the use case in general use.
This seems like it should be ON_QA
VERIFIED with 3.4.0-SNAPSHOT (20140227-1220) Commit 385ddfa81fcbea26600aa8f909af1e201b06cb4b