-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI edit job results in redirect to wrong url to view job #13039
Comments
Thanks for opening this issue @optiz0r! I've flagged it for the UI folks so they can investigate. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v1.3.0+ent (cb2f0ca)
(tested in enterprise, but probably behaves the same in oss also)
Operating system and Environment details
N/A
Issue
Probably related to #12082 refactoring of URLs for jobs with namespaces. After using UI to edit->plan->run a job, the UI redirects to
/ui/jobs/job?namespace=xx
instead ofui/jobs/job@namespace
. This then tries to load the job details from the wrong namespace.The redirect generated at the "run" stage of the UI for job edit needs to be updated to use the new style URLs, or, the ui should respect the
?namespace=xx
parameter in addition to supporting the newjob@namespace
syntax for backward compatibility.Reproduction steps
Expected Result
After the job is run, UI should redirect back to the correct job.
Actual Result
Job file (if appropriate)
N/A
Nomad Server logs (if appropriate)
N/A
Nomad Client logs (if appropriate)
N/A
The text was updated successfully, but these errors were encountered: