Bug 612172

Summary: Search should automatically search for all substrings (no need of wildcard *)
Product: Red Hat Enterprise Linux 6 Reporter: Miroslav Vadkerti <mvadkert>
Component: system-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: fnadge, pknirsch, syeghiay, twoerner
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
This field is the basis of the errata or release note for this bug. It can also be used for change logs. The Technical Note template, known as CCFR, is as follows: Cause If you search for users or groups, it searches for (paraphrased) "searchstring*". Consequence Only users/group names beginning with the search string are found, but not those where the string is somewhere else in the name Fix Now searches for substrings in user/group names.
Story Points: ---
Clone Of:
: 674047 (view as bug list) Environment:
Last Closed: 2011-05-19 14:13:57 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:
Bug Depends On: 674047    
Bug Blocks:    

Description Miroslav Vadkerti 2010-07-07 13:24:26 UTC
Description of problem:
Search in s-c-users is confusing for oridnary users. Search accepts wildcards, but in string withou wild cards it shoudl search for *substring* not substring* strings like it does

Example: 
For search string 

Version-Release number of selected component (if applicable):
system-config-users-1.2.100-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Add user test 
2. search for string "e"

Actual results:
user test not in search results

Expected results:
user test available in search results 

Additional info:

Comment 6 Florian Nadge 2011-05-06 12:58:20 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This field is the basis of the errata or release note for this bug. It can also be used for change logs.

The Technical Note template, known as CCFR, is as follows:

Cause
    What actions or circumstances cause this bug to present.
Consequence
    What happens when the bug presents.
Fix
    What was done to fix the bug.

Comment 7 Nils Philippsen 2011-05-06 13:30:11 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -3,8 +3,10 @@
 The Technical Note template, known as CCFR, is as follows:
 
 Cause
-    What actions or circumstances cause this bug to present.
+    If you search for users or groups, it searches for (paraphrased)
+    "searchstring*".
 Consequence
-    What happens when the bug presents.
+    Only users/group names beginning with the search string are found,
+    but not those where the string is somewhere else in the name
 Fix
-    What was done to fix the bug.+    Now searches for substrings in user/group names.

Comment 8 errata-xmlrpc 2011-05-19 14:13:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0730.html