Bug 610120
Summary: | Search: do not override user-chosen quoting style | ||
---|---|---|---|
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 | ||
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:51:12 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:27:49 UTC
commit f3fa4486e9c1b359fd9cb8b73f824630bc1430ee Author: Joseph Marques <joseph> Date: Thu Jul 15 11:10:38 2010 -0400 BZ-610120: respect user-chosen quoting style * if user starts with single-quote, offer suggestions wrapped with single-quotes * in all other cases, offer suggestions wrapped with double-quotes Testing with build 175 of ci-rhq-release job. scenario 1 ----------- resource name: my " broken job Started search by typing <'my> (without angle brackets). My resource name appears in the suggestions and in the results. The single quotes on the search string are preserved as well. Started search by typing <"my>. My resource name appears in the suggestions. I select the suggestion, and the pattern in the search is correctly converted to use single quotes - 'my " broken job'. scenario 2 ----------- resource name: my ' broken job Started search by typing <"my>. My resource name appears in the suggestions and in the results. The double quotes on the search string are preserved as well. Started search by typing <'my>. My resource name appears in the suggestions. I select the suggestion, and the pattern in the search is correctly converted to use double quotes. scenario 3 ----------- resource name: 'my "broken" job' Started search by typing <'my>. My resource name appears in the suggestions and in the search results. The single quotes on the search string are preserved as well. Started search by typing <"my>. My resource name appears in the suggestions. I select the suggestion, and the pattern in the search is converted to use single quotes - 'my "broken" job'. scenario 4 ----------- resource name: "my 'broken' job" Started search by typing <'my>. My resource name appears in the suggestions. I select the suggestion, and the search pattern is converted to outer double quotes - "my 'broken' job". Started search pattern by typing <"my>. The resource name appears in the suggestions and in the search results. The search pattern does not get changed. Mass-closure of verified bugs against JON. |