Skip to content

GitHub import markdown fails to update markdown

Summary

GitHub import markdown doesn't work. The markdown link of the attachment seems to be updated for image but when clicked, it returns Not Found.

Steps to reproduce

  1. Import a project from GitHub that has markdown and attachment in issue/Pull Request (make sure to click Import Markdown attachments (links))
  2. Once the import completes, view the issue and click on the attachment
  3. See the Not Found message

Example Project

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Kibana doesn't log any error: https://log.gprd.gitlab.net/app/r/s/2ywDg

Output of checks

This bug happens on GitLab.com , GitLab Enterprise Edition 16.3.0-pre 6bdb9b72

/label reproduced 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

Edited by Sokunrotanak Srey (Rotanak)