Project

General

Profile

Actions

Bug #61507

closed

wrong definition of pi_flexform/ds/ key for media

Added by Wolfgang Klinger about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I think there's a small bug in
typo3/sysext/frontend/Configuration/TCA/tt_content.php

even though it works most of the time, I had the problem that the media flexform suddenly disappeared in the backend (while the frontend output still worked)
and only the default flexform was visible
(I think the problem is, that list_type is defined as varchar, but the default value is '0' and not an empty string,
so the code in getFlexFormDS (see below) checks for „0,media“ and not „,media“)

IS:

$TCA['tt_content']['columns']['pi_flexform']['config']['ds'][',media']

SHOULD BE:

$TCA['tt_content']['columns']['pi_flexform']['config']['ds']['*,media']

see code in \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS

Actions

Also available in: Atom PDF