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 #1

Updated by Gerrit Code Review about 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project TYPO3CMS/Extensions/vidi has been pushed to the review server.
It is available at https://review.typo3.org/29053

Actions #2

Updated by Steffen Müller about 10 years ago

  • Status changed from Under Review to New

Sorry I pushed a changeset and accidently referenced this issue.
Please ignore the above gerrit reference.

Actions #3

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 42 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24132

Actions #4

Updated by Gerrit Code Review almost 9 years ago

Patch set 43 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24132

Actions #5

Updated by Gerrit Code Review almost 9 years ago

Patch set 44 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24132

Actions #6

Updated by Gerrit Code Review almost 9 years ago

Patch set 45 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24132

Actions #7

Updated by Gerrit Code Review almost 9 years ago

Patch set 46 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24132

Actions #8

Updated by Georg Ringer almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41911

Actions #10

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41911

Actions #11

Updated by Georg Ringer over 8 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF