Bug 1818053

Summary: Clicking on the Dynflow console button before API calls are complete yields an Internal Server Error
Product: Red Hat Satellite Reporter: Pete Savage <psavage>
Component: Tasks PluginAssignee: Maria <magaphon>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: aruzicka, mhulan
Target Milestone: 6.9.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman-tasks-3.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:12:29 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:

Description Pete Savage 2020-03-27 14:38:11 UTC
Description of problem: 
Clicking on the Dynflow console button in a task, before API calls are complete, yields an Internal Server Error

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


How reproducible: 100%


Steps to Reproduce:
1. Create a task
2. (quickly) as the task page loads, click the dynflow console button
3.

Actual results: The URL changes to something like
https://<server_url>/foreman_tasks/dynflow/null and an Internal Server Error is seen


Expected results: Button should be disabled until the page has loaded the appropriate data


Additional info:

Comment 3 Adam Ruzicka 2020-04-07 10:50:14 UTC
Created redmine issue https://projects.theforeman.org/issues/29494 from this bug

Comment 4 Bryan Kearney 2020-07-15 20:00:51 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/29494 has been resolved.

Comment 5 Lukáš Hellebrandt 2021-01-25 14:57:26 UTC
Verified with Sat 6.9 snap 8.0. I wasn't able to reproduce this (the task was syncing a product) - either I'm not quick enough or it is fixed. I take the liberty of supposing the latter.

Comment 8 errata-xmlrpc 2021-04-21 13:12:29 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 (Moderate: Satellite 6.9 Release), 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-2021:1313