#44571FE pdf thumbnail generation fails
Description
In a fresh 6.0 install, the FE pdf thumbnail generation for the content element “filelinks” with layout>1 fails.
A png file is created, but the file itself is a pdf, see the specimen attached.
The proposed fix here: https://review.typo3.org/#/c/17208/ does not work for this.
However, in the BE, pdf thumbnail creation is working fine.
I verfified this bahaviour in two fresh 6.0 instances.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.