Project

General

Profile

Actions

Bug #57515

closed

sys_file_reference not allowed on root (pid=0)

Added by Florian Schwaiger about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-04-01
Due date:
% Done:

100%

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

Description

I want to add user images to be_users using FAL.

This is TCA config:

    'images' => array(
        ...
        'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
            'images',
            array( 'appearance' => array('createNewRelationLinkTitle' => '...') ),
            $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
        )
    ),

This happens on save, because BE users are on page 0:

Attempt to insert record on page '[root-level]' (0) where this table, sys_file_reference, is not allowed

What to do?

Actions

Also available in: Atom PDF