Campaign page not loading if icon is missing
Steps:
- Access the campaign page of a campaign that uses a deleted icon, e.g.https://new.opengreenmap.org/campaigns/60cb6c562c91c3010053c946
- Check the loaded page
==> The campaign content does not load due to a 404 for an icon request: https://new.opengreenmap.org/api-v1/icons/60cb6d7df9e755010084df36
campaign-form.js:380 Uncaught (in promise) r {isAdapterError: true, stack: 'Error: Ember Data Request GET /api-v1/icons/60cb6d…ndor-3a91b36c76e31f0ea54a0fda2fae6039.js:4778:19)', description: undefined, fileName: undefined, lineNumber: undefined, …}
Trying to access the edit page of the campaign returns a Page not found
index.js_+_91_modules:1011 [object Object] ember data request get /api-v1/icons/60cb6d7df9e755010084df36 returned a 404 payload (application/json; charset=utf-8) [object object]