#105946Dont store missing-icon markup in icon LocalStorage
Description
When using a icon-identifier, that has not been registered yet (this happens quiet often in development), typo3 will render the missing icon svg. So far so good. But typo3 will also persist the missing-icon markup in the LocalStorage. So you won’t be able to fix the issue unless you clear your local storage. If you don’t know this it is really confusing because it might work when deployed (other LocalStorage) or when simply changing the icon identifier.
This is really annoying. I suggest using the correct HTTP response code (404) if a icon can not be loaded and avoid using additional caching logic.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Dont store missing-icon markup in icon LocalStorage Resolves: #105946 Releases: main