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 1793416 - Searching for task requires clicking Search twice to get correct results
Summary: Searching for task requires clicking Search twice to get correct results
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium with 1 vote
Target Milestone: 6.7.4
Assignee: satellite6-bugs
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
: 1802589 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-21 10:21 UTC by Stephen Wadeley
Modified: 2020-09-30 13:12 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-foreman-tasks-0.17.5.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-30 13:12:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28822 0 Normal Closed Searching for task requires clicking Search twice 2020-09-30 16:21:12 UTC
Red Hat Product Errata RHSA-2020:4127 0 None None None 2020-09-30 13:12:21 UTC

Description Stephen Wadeley 2020-01-21 10:21:20 UTC
Description of problem:

When searching for a task you have to click the Search button twice to get the correct results


Version-Release number of selected component (if applicable):
Sat6.7 Snap 9
testing on Snap 9, I have:

tfm-rubygem-foreman-tasks-0.17.5.1-1.el7sat.noarch
tfm-rubygem-foreman-tasks-core-0.3.3-1.el7sat.noarch

How reproducible:
90%


Steps to Reproduce:
1. Navigate to Monitor >> Tasks
2. Enter: resource_type = Katello::Repository
3. Click Search button

Actual results:

some tasks are displayed, no error, but click Search again and the list changes

sometimes its seems not to search and you will see "No Tasks"

Expected results:

It should search reliably first time

Additional info:

Edit the search by adding a ! before = and click Search again, remove the ! and click Search again. I see No Tasks
That test works OK on Sat6.6.1

Comment 3 Adam Ruzicka 2020-01-28 11:25:30 UTC
The upstream bug was fixed, moving the POST

Comment 5 Adam Ruzicka 2020-04-23 08:51:13 UTC
*** Bug 1802589 has been marked as a duplicate of this bug. ***

Comment 9 Tasos Papaioannou 2020-09-15 17:20:24 UTC
Verified on 6.7.4 snap 1.0.

# rpm -qa |grep foreman-tasks
tfm-rubygem-foreman-tasks-core-0.3.3-1.el7sat.noarch
tfm-rubygem-foreman-tasks-0.17.5.7-1.el7sat.noarch

1.) Navigate to Monitor > Tasks
2.) Enter 'state = stopped' or 'state = scheduled' in the filter field and click Enter or Search.
3.) The tasks are correctly filtered.

On 6.7.3 snap 1.0, on the other hand, the tasks are not filtered until I click Enter or Search a second time.

Comment 14 errata-xmlrpc 2020-09-30 13:12:09 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 (Important: Satellite 6.7.4 Async Bug Fix Update), 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/RHSA-2020:4127


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