#61344findByRelation() does not work since 6.2.4
Description
Hello,
several users of the DCE extension mentioned, that the output of FAL images in backend does not work anymore, since they’ve updated to TYPO3 6.2.4. In previous version it worked.
I don’t know why, but somehow the following call will not return any results anymore:
$fileRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileRepository');
return $fileRepository->findByRelation('tt_content', $field, $contentObject['uid']);
$contentObjectUid = intval($contentObject['uid']);
/** @var t3lib_DB $typo3Database */
$typo3Database = Tx_Dce_Utility_DatabaseUtility::getDatabaseConnection();
$rows = $typo3Database->exec_SELECTgetRows(
'uid',
'sys_file_reference',
'tablenames = "tt_content" AND uid_foreign = ' . $contentObjectUid . ' AND fieldname = "' . $field . '"'
);
I’m using now this manual way of getting the references in my FalViewHelper.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.