Issue Bug Closed

#105283ENUM field detection loop fix introduced type errors with default value `null`

Stefan Bürk 10/11/24, 23:03 updated 10/12/24, 19:43

Description

Create from commit comment on github
https://github.com/TYPO3/typo3/commit/4305a283e8d46b6e8d3d0762f90e2b4c986ecdd1#commitcomment-147172544

> unfortunately this bugfix leads the database analyzer to crash instead of the loop because $default is unset on runtime on my system.

Message:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: str_starts_with():
Argument #1 ($haystack) must be of type string, null given
TypeError thrown in file /var/www/typo3_src-11.5.39/typo3/sysext/core/Classes/Database/Schema/EventListener/SchemaColumnDefinitionListener.php in line 73.
Requested URL: http://localhost:8080/typo3/install.php?install[controller]=maintenance&install[context]=backend&install[action]=databaseAnalyzerAnalyze

Reported by https://github.com/hthurmann

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.