Issue Bug Accepted Orphaned

#104316DB compare results in error with SQLite in TYPO3 13.2

Stefan Froemken 07/05/24, 17:45 updated 10/15/24, 09:46

Description

Hello,

for testing TYPO3 13.2 I have set DB to SQLite. After upgrading from TYPO3 13.1 I get following error in DB compare:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Doctrine\DBAL\Schema\Index::_addColumn(): Argument #1 ($column) must be of type string, null given, called in /var/www/vhosts/jweiland-hosting.de/httpdocs/typo3retter.de/13.4/vendor/doctrine/dbal/src/Schema/Index.php on line 60 | TypeError thrown in file /var/www/vhosts/jweiland-hosting.de/httpdocs/typo3retter.de/13.4/vendor/doctrine/dbal/src/Schema/Index.php in line 68. Requested URL: https://nix-da.typo3retter.de/typo3/install.php?install%5Bcontroller%5D=maintenance&install%5Bcontext%5D=backend&install%5Baction%5D=databaseAnalyzerAnalyze

Seems that DB compare tries to create a new index:

at Doctrine\DBAL\Schema\Index->__construct()
in /var/www/vhosts/900410.jweiland-hosting.de/httpdocs/typo3retter.de/13.4/vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php line 733
        }

        $indexes = [];
        foreach ($result as $indexKey => $data) {
            $indexes[$indexKey] = new Index(
                $data['name'],
                $data['columns'],
                $data['unique'],
                $data['primary'],

Stefan

Reviews 0

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

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] DB compare results in error with SQLite in TYPO3 13.2 Resolves: #104316 Releases: main