FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
190 stars 229 forks source link

v:content.resources.fal throws exception if file does not exist #2 #1725

Closed cweiske closed 3 years ago

cweiske commented 3 years ago

This is a reincarnation of #1197: When a file does not exist on disk, v:content.resources.fal throws an exception:

(1/1) #1503500470 TYPO3Fluid\Fluid\Core\ViewHelper\Exception File does not exist in /var/www/typo3/public/typo3conf/ext/vhs/Classes/Utility/ErrorUtility.php line 25

This breaks the page view in backend so editors can't even disable the content elements anymore (except when they use the list view).

Steps to reproduce

  1. Create flux content element that uses <v:content.resources.fal> in Preview and/or Main section
  2. Create instance of content element, select image, save
  3. Delete referenced image from disk
  4. View page or page preview: Exception occurs, page is unusable

This happens with vhs 6.0.5 on TYPO3 10.4.17 and flux 9.5.0. Related to #1197 and #762.

cweiske commented 3 years ago

Note: This does seem to be a problem with extension aus_driver_amazon_s3 which throws a normal \Exception instead of something more sane.

Sorry for the invalid bug report.