#61635Click-enlarge images with missing data-htmlarea-file-uid lead to error in rendering the page
Description
We noticed the bug when editing a big table with embedded images using the RTE and the source itself. Somehow the data-htmlare-file-uid and file-table fields were missing (editor stripping it in some cases?) and afterwards the page did not render anymore in the frontend with the error.
Fatal error: Call to a member function getUid() on a non-object in typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php on line 1495
Removing the clickenlare=“1” or adding the data-htmlarea-file-uid and table again, fix the issue.
HTML Source, working image with click enlarge:
not working image leading to the getUid fatal error:

Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.