Issue Bug Closed

#77741SchemaColumnDefinitionListener.php has incorrect namespace

Robert Vock 09/01/16, 11:14 updated 10/02/18, 11:07

Description

The Path for SchemaColumnDefinitionListener.php is Database/Schema/EventListener/, but the namespace states TYPO3\CMS\Core\Database\Schema

I just got an exception:

Fatal error:  Uncaught Error: Class 'TYPO3\CMS\Core\Database\Schema\SchemaColumnDefinitionListener' not found in typo3/sysext/core/Classes/Utility/GeneralUtility.php:3891
Stack trace:
#0 typo3/sysext/core/Classes/Database/ConnectionPool.php(169): TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\...')
#1 typo3/sysext/core/Classes/Database/ConnectionPool.php(130): TYPO3\CMS\Core\Database\ConnectionPool->getDatabaseConnection(Array)
#2 typo3/sysext/core/Classes/Database/ConnectionPool.php(81): TYPO3\CMS\Core\Database\ConnectionPool->getConnectionByName('Default')
#3 typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php(100): TYPO3\CMS\Core\Database\ConnectionPool->getConnectionForTable('sys_log')
#4 typo3/sysext/core/Classes/Error/AbstractExceptionHandler. in typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3891

The class is incorrectly references from core/Classes/Database/ConnectionPool.php and core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php

Reviews 1