#67390deleted sys_file_storage records with tx_cms_showpic eid script
Description
When FAL is used by calling the “tx_cms_showpic eid script” (“Enlarge on Click”), the StorageRepository do not respect deleted flags on sys_file_storage records (and this ends in an exception if the path of the sys_file_storage not exists).
The Problem is located in the AbstractRepository of FAL when building the the where-clause for SQL-Query fetching sys_file_storage records.
Calling the eid script the $GLOBALS[‘TSFE’]->sys_page Object is avaiable and this ends in an empty whereClause.
Reproduce: Create an sys_file_storage record with non existing path and deleted it. Create an Image-CE with a PDF-File as Image (to be sure it should be converted, when clicking the enlarge) and the the “Enlarge on Click”. Click the Preview-Image on Website. (without lightbox)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.