Re-deploy to environment button in environment group doesn't work
Summary
The Re-deploy to environment
button does not work when used from the environment folder index page.
Steps to reproduce
- Create a project with the following .gitlab-ci.yml
deploy:
stage: deploy
script: echo
environment:
name: dev/test-1
deploy2:
stage: deploy
script: echo
environment:
name: dev/test-2
- Go to Project > Deployments > Environments. This is Environment index page.
- Expand
dev
and confirmtest-1
andtest-2
environments exist. - Click three dots > Re-deploy to environment in
test-1
row. Confirm the dialog appears. Close it. - Click Show all button next to the
dev
folder. This is Environment Folder index page. - Click three dots > Re-deploy to environment in
test-1
row. Confirm the dialog didn't appear. This is bug.
Example Project
Reproduced in https://gitlab.com/shinya.maeda/pipeline-playground/-/environments
What is the current bug behavior?
The Re-deploy environment
modal is not displayed.
What is the expected correct behavior?
The Re-deploy environment
modal should be displayed.
Possible fixes
I can have a look, I think I was fixing the same issue on Environments page, and it was related to wrong object passing in as a parameter for a component
🤔
Edited by Shinya Maeda