Create Confidential Merge Request button missing when issue is confidential
Summary
After creation of a confidential issue, a Create Confidential Merge Request
button should appear. This does not seem to occur. I discovered this while trying to work with the GitLab 12.1 Confidential Merge Request feature described here. This is definitely reproducible. This appears to always happen with self-hosted. Whether it happens on gitlab.com appears to be related to whether the project is in a group or not.
FWIW, I saw something similar in, I believe, GitLab 12.0 (before the confidential merge request functionality) that was not immediately reproducible.
Steps to reproduce
- Create a confidential issue
- The resultant page should display a
Create Confidential Merge Request
button, but it does not. - Using the right hand navigation bar, edit the issue to turn confidentiality off.
- The
Create Merge Request
button appears.
Example Project
- https://gitlab.demo.i2p.online/reb/web-project/issues/76
- https://gitlab.demo.i2p.online/reb/web-project/issues/84
What is the current bug behavior?
Instead of a Create Confidential Merge Request
button, nothing appears.
What is the expected correct behavior?
A Create Confidential Merge Request
button should be displayed
Relevant logs and/or screenshots
In the image below, no Create Confidential Merge Request
button is offered:`
After removing confidentiality, the Create Merge Request
button is displayed:
Output of checks
This bug happens on GitLab 12.1.6 - this installation was created with our Helm charts and is running in the GitLab GCP environment:
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
gitlab 13 Thu Aug 15 12:39:11 2019 DEPLOYED gitlab-2.1.7 12.1.6 i2p-demo
For access, contact @xyzzy
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)