Bug 1241945

Summary: search field only allows 40 characters
Product: Red Hat Satellite 5 Reporter: Oliver Ilian <oliver>
Component: WebUIAssignee: Jiří Dostál <jdostal>
Status: CLOSED ERRATA QA Contact: Pavel Studeník <pstudeni>
Severity: medium Docs Contact:
Priority: medium    
Version: 570CC: dnagarat, dyordano, jdostal, mkearey, pstudeni, tkasparek, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-135-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-02 12:33:10 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:
Bug Depends On:    
Bug Blocks: 465198, 1127217    

Description Oliver Ilian 2015-07-10 13:16:36 UTC
Description of problem:
When you search in the right top corner of the WebUI, the search field only accepts 40 characters and cut the rest. If you have Packages with more than 40 characters, you have to search fierst for the first 40 characters, and in the next screen you can use the search input to give the full name to find it.

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

How reproducible:
every time

Steps to Reproduce:
1. search for a package that is longer than 40 characters
2. see that the search is cut after 40 characters

Actual results:
package can not be found, as the name is incomplete

Expected results:
field should accept more than 40 characters (why not 250, as i do not think a package name is longer than that)

Additional info:

Comment 1 Jiří Dostál 2015-08-04 11:28:16 UTC
spacewalk git 1b12d77b283337c2685257d6f30bc3c219fa8c72

Comment 9 Pavel Studeník 2016-05-05 12:24:01 UTC
Package: spacewalk-java-2.3.8-137.el6sat.noarch

Searching box in right corner is not limit by max size. But after search you will be redirected to page /rhn/systems/Search.do where is searching box limited by 100 chars. Is it awaited behaviour?

Comment 10 Pavel Studeník 2016-05-05 12:46:36 UTC
max size of field for search:

Systems - /rhn/systems/Search.do - 100
Packages - /rhn/channels/software/Search.do - unlimit
Errata - /rhn/errata/Search.do - 36
Documentation - /rhn/help/Search.do - unlimit

Max size of search box is set as max of all searching limits - unlimit.

Comment 12 errata-xmlrpc 2016-06-02 12:33:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1200