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.
Updated by Adam Ruzicka almost 4 years ago
- Subject changed from Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}" to Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}"
- Category set to Foreman
- Assignee set to Adam Ruzicka
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/623 added
Updated by Adam Ruzicka almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|c7a064926eb1b3b3ea4da7ef4091e7702ebea5d8.
Updated by Adam Ruzicka almost 4 years ago
- Fixed in Releases foreman_remote_execution-4.7.0 added
Updated by Adam Ruzicka almost 4 years ago
- Fixed in Releases foreman_remote_execution-4.5.4 added