Upon translating a page from EN to Dutch that has an image uploaded, Wagtail tries to call an url "en/cms/api/main/images/1/", which is called the Images Admin Api but is unauthorized to do so. This in turn leads to an error in wagtail-localize.js since the image can not be found.
Steps to Reproduce
Add a page in the original Wagtail Language
Add an image field and upload any image
Translate the page, select the desired language and hit confirm
The next page will throw the 2 errors above.
The page will load, but the translation editor will have been broken.
Technical details
Wagtail 6.2
Django version: 5.0.4
Browser version: Chrome 129.
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
Issue Summary
Upon translating a page from EN to Dutch that has an image uploaded, Wagtail tries to call an url "en/cms/api/main/images/1/", which is called the Images Admin Api but is unauthorized to do so. This in turn leads to an error in wagtail-localize.js since the image can not be found.
Steps to Reproduce
Technical details
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.