Project

General

Profile

Actions

Bug #96900

closed

Add sys_file_reference on not yet saved page

Added by Jochen Roth over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Start date:
2022-02-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Create a new page in list view, do not save it and try to attach a media under the resources tab.
This will cause the following error:

TYPO3\CMS\Backend\Form\FormDataProvider\AbstractDatabaseRecordProvider::getDatabaseRow(): Argument #2 ($uid) must be of type int, string given, called in /var/www/html/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractDatabaseRecordProvider.php on line 50

See the attached video.


Files

Actions

Also available in: Atom PDF