Incorrect pipeline URL provided in merge request widget
https://gitlab.zendesk.com/agent/tickets/72289
Overview
GitLab v9.0.4
- The URL of pipeline navigates to invalid place and nginx gives me 404 error
- The URL of commit id navigates to a place where the only visible content is nothing, but the usual menu items
Steps to reproduce
-
Create a group aw
-
Create a project singlebuild (add some dummy CI)
-
Fork singlebuild to your namespace
-
Open a merge request
-
Open the merge request details
-
Check the URL of the following text
- a. Pipeline #899 (closed) passed (icons) for 8e84ff26.
What is the current bug behavior?
- Merge request widget links to
/aw/singlebuild/pipelines/1004
What is the expected correct behavior?
- Merge request widget links to
/212363746/singlebuild/pipelines/1004
Notes
-
I thought that this one (CE/EE: Fixes method not replacing URL parameters correctly and breaking pipelines. (!10351 (merged))) will be the fix, but it looks like it does not work well, or affects something else.
-
I don’t know why but I found that sometimes the correct URL is written into the link. What is the success ratio?!
-
Merge request 209 – opened about 14 hours ago => CORRECT URL (The MR title is tricky, please don’t care)
-
Merge request 210 – opened 3 minutes ago => INCORRECT URL