Project

General

Profile

Actions

Bug #67933

closed

compatibility6 crashes TYPO3 BE

Added by Franz Holzinger almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-07-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The extension compatibility6 leads to an exception which blocks the TYPO3 backend and Install Tool.

Uncaught TYPO3 Exception
#1320585902: $hookObject must implement interface TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface (More information)

UnexpectedValueException thrown in file
/var/www/html/developer/typo3_src-7.3.1/typo3/sysext/core/Classes/Core/Bootstrap.php in line 1048.

5 TYPO3\CMS\Core\Core\Bootstrap::runExtTablesPostProcessingHooks()

This is because the class name "TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration" cannot be found in the file Bootstrap.php.

getUserObj $class "TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration"does not exist

getUserObj says: $class "TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration" does not exist .

    /**
     * Check for registered ext tables hooks and run them
     *
     * @throws \UnexpectedValueException
     * @return void
     */
    protected function runExtTablesPostProcessingHooks() {
        if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'])) {
            foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'] as $classReference) {
                /** @var $hookObject \TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface */
                $hookObject = Utility\GeneralUtility::getUserObj($classReference);

The $hookObject is always empty. Then an exception with the wrong message is given.
And the Backend has gone without any possibility to restore it.
I could not find the autoloader for the class of extension compatibility6. It seems to be missing.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #68480: compatibility6 crashes TYPO3 BE - part 2ClosedHelmut Hummel2015-07-23

Actions
Related to TYPO3 Core - Bug #71507: compatibility6 still crashes TYPO3 7.6 BE and InstalltoolClosedNicole Cordes2015-11-12

Actions
Actions

Also available in: Atom PDF