#96900Add sys_file_reference on not yet saved page
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.