Skip to content
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

Incorrect 'Plan Discarded' Message When Enabling/Disabling Apply Commands #3510

Closed
X-Guardian opened this issue Jun 11, 2023 · 0 comments · Fixed by #3511
Closed

Incorrect 'Plan Discarded' Message When Enabling/Disabling Apply Commands #3510

X-Guardian opened this issue Jun 11, 2023 · 0 comments · Fixed by #3511
Labels
bug Something isn't working

Comments

@X-Guardian
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

When enabling or disabling apply commands through the Atlantis web UI, an incorrect 'Plan discarded and unlocked' message is shown.

Environment details

  • Atlantis version: 0.24.2

Additional Context

This is due to the replace URL on the lock and unlock conditions incorrectly having a query string of /?discard=true in the following locations:

window.location.replace("{{ .CleanedBasePath }}/?discard=true");

window.location.replace("{{ .CleanedBasePath }}/?discard=true");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant