Bug 610135
Summary: | Search: provide intelligent quoting for suggestions | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | SearchBar | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sanda <jsanda> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.0.0 | CC: | cwelton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:46:32 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: |
Description
Joseph Marques
2010-07-01 15:42:15 UTC
commit 186aa9fe1f54389a86aa637577793284814c3a7d Author: Joseph Marques <joseph> Date: Thu Jul 15 12:20:14 2010 -0400 BZ-610135: provide intelligent quoting for suggestions * if a suggestion doesn't need to be quoted, don't quote it * if a suggestion has whitespace, then determine how to quote it ** if it has only single-quotes in the value, wrap it in double-quotes ** if it has only double-quotes in the value, wrap it in single-quotes ** if it has both types of quotes in the value, don't quote it *** thus, treat mixed-quoted values single search terms so the parser won't bomb * if I search for something w/ no whitespaces, i.e., AlertConditionCacheManagerBean, it does not get quoted * if i search for something with whitespaces, i.e., Alert Subsystem, it gets quoted * if i search for something with single quotes, i.e., Corey's Apache Servers, it gets wrapped w/ double * if i search for something with double quotes, i.e., servers of the "real" OS, it gets wrapped with single * if I start a search for something with mixed quotes, i.e., "goofy-ass 'group name that' mak"es no sense', it does not get quoted and single terms are used * tested against resources * tested against groups. Dev can bounce this back if the appropriate test scenarios have not been thought to have been covered. Mass-closure of verified bugs against JON. |