RaspberryPiFoundation / editor-ui

Code Editor web component
https://editor-static.raspberrypi.org
Apache License 2.0
37 stars 9 forks source link

Fix editor asset URLs #910

Closed sra405 closed 4 months ago

sra405 commented 5 months ago

This came up in projects support here.

So in project welcome-to-antarctica-step5 there are lots of assets and the URLs weren't correctly populated because sun.jpg existed and other assets included sun.jpg in the name so someone there's a contains match rather than exact

create-issue-branch[bot] commented 4 months ago

Branch issues/910-Fix_editor_asset_URLs created!

conorriches commented 4 months ago

Update: tried to replicate by cloning staging database locally then renaming an asset to sun.jpg which should clash with other images in the project, however I couldn't replicate. It seems that editorial have updated the image names before I could start on this, which has made it harder to spot what's going on.

Going to close for now, if we see more of this hopefully we can capture the exact names of all the files so we can replicate locally