Moving an issue results in broken image links in comments
Summary
When I move an issue from one project to an other, all the images links in all comments become invalid. In the moved issue, instead of seeing the images, GitLab only displays the file name:
Steps to reproduce
- Create a new group
- Add two new projects to the group
- Add an issue to the first project
- Add an image as a comment to the issue
- Move the issue to the second project
Example Project
I created an example here:
MovingIssueBreaksImageLinks/ProjectB#1 (moved)
What is the current bug behavior?
All images are broken after moving an issue. The URL of the image links seems to be updated to reflect the issue being move to the new project, but it seems that the images are not moved with the issue. I just get a 404 when I try to open any of the images.
What is the expected correct behavior?
The issue is moved including all images and attachments.
Output of checks
This bug happens on GitLab.com
Edited by Balázs Faludi