Bug 964354

Summary: Project-wide search & replace input field should not truncate the trailing space
Product: [Retired] Zanata Reporter: Yuko Katabami <ykatabam>
Component: UsabilityAssignee: David Mason <damason>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.0CC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:13:20 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:
Embargoed:

Description Yuko Katabami 2013-05-18 02:19:05 UTC
Description of problem:
In Project-wide search & replace, a space character is ignored when inserted at the end of the search key word.
It should be able to be recognized.

Version-Release number of selected component (if applicable): 2.3.2


How reproducible: Always


Steps to Reproduce:
1. In project-wide search & replace, enter a search keyword which ends with a space character. (e.g. "、" + "space"
2. Run search

  
Actual results:
Search results include strings that do not contain a space character at the end.

Expected results:

It should only show the results including a space character
Additional info:

Comment 4 Ding-Yi Chen 2014-03-21 01:21:36 UTC
After I talked with some translators, I found that the real requirement is to make the search more text editor like (not Google like). 

For example, when searching "amazing grace"
"amazing grace" and "unamazing graceless" should be found, but not
"amazing godly grace"

Comment 5 Ding-Yi Chen 2014-03-21 02:43:17 UTC
After a few more test, it looks that trailing space of search term was truncated before search.

Steps to Reproduce:
1. In project-wide search & replace, enter a search keyword which ends with a space character. (e.g. "、" + "space")
2. Run search

  
Actual results:
1. The trailing space is missing in the search field.
2. Search results include strings that do not contain a space character at the end.

Expected results:
1. The trailing space should be kept.
2. It should only show the results including a space character.

Comment 6 Zanata Migrator 2015-07-31 01:13:20 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-361