Issue Bug Closed

#96900Add sys_file_reference on not yet saved page

Jochen Roth 02/15/22, 09:14 updated 10/04/22, 14:17

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.

Reviews 2