Actions
Bug #105283
closedENUM field detection loop fix introduced type errors with default value `null`
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-10-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions