Description of problem: A search expression is made up of several search tokens. Frequently, a user will be asking for completions with the cursor naturally positioned at the end of a token. However, sometimes a user will reposition the cursor in the middle of a token and ask for suggestions from that point on. If the user selects one of the suggestions, it should replace the entire token properly, not just the part before the cursor. How reproducible: Every time. Steps to Reproduce: 1. Enter "cod" into the SearchBar for resources 2. Suggestion should be "Code Cache" 3. Use the mouse to position the cursor between 'o' and 'd' 4. You'll see suggestions like configuration, connection, agent plugin container, etc etc 5. Select "connection[" Actual results: The expression is replaced as "connection[d" Expected results: The expression should be replaced as "connection[" Additional info:
commit fc9d0ea7d906573a6529c57dceb26c950fe5cbbd Author: Joseph Marques <joseph> Date: Tue Jun 1 14:30:27 2010 -0400 BZ-598625: properly replace entire current search token with provided suggestion
Grabbing this bz since I was actually making use of search functionality this AM. That said, we should still have a test case for this if we don't already -- i.e., it should exist in a test run. QA Verified - when relocating cursor to middle of string, the suggestion appears correctly and when selected, the appropriate information is chosen for search box.
Mass-closure of verified bugs against JON.