Project

General

Profile

Actions

Bug #77741

closed

SchemaColumnDefinitionListener.php has incorrect namespace

Added by Robert Vock about 8 years ago. Updated about 6 years ago.

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 #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49710

Actions #2

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49710

Actions #3

Updated by Robert Vock about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF