Project

General

Profile

Actions

Bug #105283

closed

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

Added by Stefan Bürk about 1 month ago. Updated about 1 month ago.

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


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #104621: SchemaColumnDefinitionListener throws a type error while "analyze database" in Maintenance moduleClosed2024-08-14

Actions
Actions #1

Updated by Stefan Bürk about 1 month ago

  • Status changed from New to Closed

Already resolved and released with #104621

Actions #2

Updated by Stefan Bürk about 1 month ago

  • Is duplicate of Bug #104621: SchemaColumnDefinitionListener throws a type error while "analyze database" in Maintenance module added
Actions

Also available in: Atom PDF