Gernott / mask

TYPO3 Extension Mask
https://www.facebook.com/typo3mask
GNU General Public License v2.0
131 stars 86 forks source link

Core v11 with "typo3/cms-composer-installers" v4: 500 error with preview images #501

Closed liayn closed 2 years ago

liayn commented 2 years ago

Mask tries to load some ...preview/<CE-name>.png which does not exist and causes Mask not to load at all.

I didn't investigate deeply yet, but it might also be a Core issue that's triggered here.

liayn commented 2 years ago

\MASK\Mask\Imaging\PreviewIconResolver::getPreviewIconPath is the one. With ResourceDoesNotExistException:

Tried to access a private resource file "EXT:sitesetup/Resources/Private/Extensions/mask/Previews/test.png" from fallback compatibility storage. This storage only handles public files.

nhovratov commented 2 years ago

You can't use the Private path for public assets. You have to use Public.

liayn commented 2 years ago

Hm... yes, but still this mistake might not be clear to everyone and hence, should be handled gracefully.

nhovratov commented 2 years ago

Ok, I will have a look thanks.