Project

General

Profile

Actions

Bug #82178

closed

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

Added by Marcos Fadul over 6 years ago. Updated over 5 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 3 (1 open2 closed)

Related to TYPO3 Core - Bug #92906: File Metadata are not editable 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
Actions

Also available in: Atom PDF