#82178\TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderForeignRecordHeaderControl wrong edit link
Description
The $recordInDatabase in line 506 is false if no metadata for the file exist. This produce a wrong edit link where uid is null. This can be fix by adding a check on $recordInDatabase in the if condition on line 522.
if ($recordInDatabase && $backendUser->check(‘tables_modify’, ‘sys_file_metadata’)) {