Actions
Bug #77741
closedSchemaColumnDefinitionListener.php has incorrect namespace
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2016-09-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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
Actions