Fixed vulnerabilities in the MR widget are missing an actions area
Summary
In certain cases the option to dismiss vulnerabilities within the vulnerability modal is missing. The conditions that cause this are not yet clear
Steps to reproduce
(How one can reproduce the issue - this is very important)
Example Project
gitlab-examples/security/security-reports!2 (closed)
What is the current bug behavior?
Dismiss
button is missing in vulnerability modal
What is the expected correct behavior?
Dismiss
button should always be present, unless vulnerability has already been dismissed, then it should show Undo dismissal
- The actions area appears for all modals.
- IF vulnerabilities are
fixed
then at minimum, the actions area appears with aCancel
button.
Relevant logs and/or screenshots
gitlab-examples/security/security-reports!2 (closed)
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)