Bug #57515

sys_file_reference not allowed on root (pid=0)

Added by Florian Schwaiger over 7 years ago. Updated about 3 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?

#1

Updated by Gerrit Code Review over 7 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

#2

Updated by Steffen Müller over 7 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.

#3

Updated by Gerrit Code Review over 6 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

#4

Updated by Gerrit Code Review over 6 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

#5

Updated by Gerrit Code Review over 6 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

#6

Updated by Gerrit Code Review over 6 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

#7

Updated by Gerrit Code Review over 6 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

#8

Updated by Georg Ringer over 6 years ago

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

Updated by Gerrit Code Review over 6 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

#10

Updated by Gerrit Code Review over 6 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

#11

Updated by Georg Ringer over 6 years ago

  • Status changed from Under Review to Resolved
#12

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF