#102608"Show in all view" leads to not found image.
Description
Hi
Frontend is throwing “No file reference (sys_file_reference) was found for given UID: “***”“ on translations of a record with a disabled/hidden image when is set as “Show in all views” or “Show only in list view”.
Steps to replicate:
- Create a record of an extension that has an image field like georgringer/news or derhansen/sf_event_mgt, and add a featured image to it.
- Localize the record so each image gets localized too.
- Edit one of the localized records, and set one of the images as “Show in all views” or “Show only in list view”.
- Go the the default language and disable/hide that image you just set as “Show in all views” in the previous step.
- Go to the frontend and check the localized frontend version of the record and the error will be thrown.
I have tested it in a new clean installation of Typo3 11 in multiple extensions (sf_event_mgt, news and others from my own) they all throw this error.
I tried with php 8.1 and 7.4 and got the same result.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Riccardo De Contardi commented 04/21/24, 15:16
-
Benni Mack commented and changed status
NewClosed 06/25/24, 11:17Hey all,
I will close this issue now. The main issue is that the localization part had too many problems that were “fundamentally wrong” and we had to do breaking changes in v12 (in Extbase localization) to achieve this result. v12 now has proper tests for such functionatlity now.
I tested with both TYPO3 11.5.35 and 12.4.14 and ext:news 11.4.1
and these are the results:
TYPO3 11.5.35
The issue is still present
TYPO3 12.4.14
There is no exception
So the behavior seems correct now