Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 848438 - Content search auto-complete should enable the 'Add' button after typing full content name.
Summary: Content search auto-complete should enable the 'Add' button after typing full...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-15 15:21 UTC by Gerhard Stoeckel
Modified: 2019-09-26 15:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 18:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gerhard Stoeckel 2012-08-15 15:21:07 UTC
Description of problem:
Typing the full content name (i.e. product, repo or package) should enable the "Add" button.  Typing a portion of the name and clicking the desired content item in the resulting drop-down should not be *required* to enable the "Add" button.  

This requirement is not intuitive, inconsistent with similar interfaces in other products (e.g. Google search), and makes testing significantly more complex.

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


How reproducible:


Steps to Reproduce:
1. Type the full content name into one of the auto-complete inputs.
2. Notice the corresponding "Add" button is still disabled.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Pavel Pokorny 2012-09-07 14:30:48 UTC
We need newer version of jQuery UI autocomplete (included in converge UI). The response callback which we can use for this was introduced in [1]. With this we would be able to check if returned data contain string which is written in search input and eventually enable the add button.

It can be done also with little monkeypatching but I vote for the update.

[1] https://github.com/jquery/jquery-ui/commit/e7991e33f3c5d20d6efdb18654859175ef5cac68

Comment 3 Pavel Pokorny 2012-09-07 14:40:02 UTC
* response callback will be in jQuery 1.9 which is not stable yet

Comment 4 Martin Bacovsky 2012-10-02 12:09:10 UTC
Merged in PR #622 commit #febb27af8

Comment 6 Mike McCune 2013-09-19 18:14:43 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.


Note You need to log in before you can comment on or make changes to this bug.