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

Files 1

History 39

  1. Georg Ringer changed status New Accepted assigned to Georg Ringer 02/15/22, 11:41

  2. Gerrit Code Review pushed patch set 1 for main to change 73519 status Accepted Under Review 02/15/22, 11:49

  3. Gerrit Code Review pushed patch set 2 for main to change 73519 02/15/22, 12:29

  4. Gerrit Code Review pushed patch set 3 for main to change 73519 02/15/22, 13:09

  5. Gerrit Code Review pushed patch set 4 for main to change 73519 02/16/22, 21:49

  6. Gerrit Code Review pushed patch set 5 for main to change 73519 02/16/22, 21:50

  7. Gerrit Code Review pushed patch set 1 for 11.5 to change 73602 02/18/22, 16:07

  8. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 02/18/22, 16:10

    Applied in changeset commit:6000af36327107654f5dc0ac22a0eb4792b30bbd.

  9. Benni Mack changed status Resolved Closed 10/04/22, 14:17