Skip to content

Changing namespace breaks wiki images

Steps to reproduce

  1. Create a project
  2. Create a wiki page, upload images to that wiki page
  3. Change the namespace of the project
  4. Load the wiki page

What is expected: Images should still display

What happens: The images are broken. The browser console reveals a 500 error.

I looked at the wiki page source and it still has the old namespace. I looked in the public/uploads folder on the server and the images still exist in the old namespace. Maybe it is a permissions thing?