Bug #32675
closedCanceling a job for a content host redirects to a new page with "{"statusText":"OK"}"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1952962
Description of problem:
Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}"
How reproducible:
Always
Steps to Reproduce:
1. Create a rex job against a host or multiple hosts. Ex.: while : ; do find /var > /dev/null ; done
2. While executing, click on the hostname of any server from the bottom table and then click on the \'Cancel Job\' button.
Actual results:
- Clicking on the "Cancel Job" button redirects you to a new webpage with "{"statusText":"OK"}" text on the webpage.
- One has to click on the "Back <-" button on the browser to navigate back to the satellite UI.
- Also, this is an inconsistent outcome as if a job is aborted then the user is not redirected to a new page and the same job page is visible which is more convinient.
Expected results:
- Clicking on the "Cancel Job" button should keep you on the same task/job page as it does when clicked on the "Abort Job" button.
Additional info:
- When a job is canceled from the main job page instead of clicking on the particular hostname and then canceling the job, the user is kept on the same page which is expected.