Issue Bug Closed

#101811BackendUtility::getProcessedValue PHP Runtime Deprecation Notice for datetime field with null value

Achim Fritz 08/31/23, 12:10 updated 07/09/24, 15:19

Description

having a DB Field
@<my-field> datetime default null,@</my-field>

and add field to “Show columns” for this tables ends in a “PHP Runtime Deprecation Notice” in List-View

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception

PHP Runtime Deprecation Notice: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/vendor/typo3/cms-backend/Classes/Utility/BackendUtility.php line 1733

Reviews 3

History 26

  1. Gerrit Code Review pushed patch set 1 for 12.4 to change 80771 status New Under Review 08/31/23, 12:13

  2. Gerrit Code Review pushed patch set 1 for main to change 80793 08/31/23, 12:48

  3. Gerrit Code Review pushed patch set 2 for 12.4 to change 80771 08/31/23, 12:50

  4. Gerrit Code Review pushed patch set 1 for 11.5 to change 80796 08/31/23, 13:36

  5. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 08/31/23, 13:55

    Applied in changeset commit:385fd74f459b1351027013f07379c19756e1da0d.

  6. Benni Mack changed status Resolved Closed 07/09/24, 15:19