| Summary: | The project search field failed to found existing project using the project name | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
| Component: | Component-UI | Assignee: | Alex Eng <aeng> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Zanata-QA Mailling List <zanata-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1 | CC: | aeng, djansen, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | 3.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.4.0-SNAPSHOT (20140227-1220) | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-17 06:39:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ding-Yi Chen
2013-12-17 00:51:38 UTC
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 |