Project

General

Profile

Bug #61507

Updated by Riccardo De Contardi over 9 years ago


 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: 

 <pre> 
 $TCA['tt_content']['columns']['pi_flexform']['config']['ds'][',media'] 
 </pre> 

 SHOULD BE: 

 <pre> 
 $TCA['tt_content']['columns']['pi_flexform']['config']['ds']['*,media'] 
 </pre> 

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

Back