Bug #82178

\TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderForeignRecordHeaderControl wrong edit link

Added by Marcos Fadul over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2017-08-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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')) {


Related issues

Related to TYPO3 Core - Bug #92906: File Metadata should be editable also when translation doesn't exist yetNew2020-11-23

Actions
Is duplicate of TYPO3 Core - Bug #76262: "$uid must be positive integer, 0 given" when trying to edit file metadataClosed2016-05-23

Actions
Has duplicate TYPO3 Core - Bug #83165: Editing file metadata of translated tt_contentClosed2017-11-29

Actions

Also available in: Atom PDF