Issue Bug Closed

#67931eID ajax-call Error because tca not loaded fully

Philipp Wrann 07/06/15, 18:01 updated 07/07/15, 09:55

Description

I make us of eID in one extension, its that kind of full-typo3-bootstrap eID, i know it is not recommended to do so, but i didnt know it when i implemented it.

Anyway – the call worked with 7.3 but does not work with the current master, i needed to checkout the current master because indexed_search / autoloading was messed up in 7.3.1.

Error:

There is no entry in the $TCA array for the table "pages". This means that the function enableFields() is called with an invalid table name as argument.

This is my bootstraproutine:

    $GLOBALS['TSFE'] = Utility::makeInstance('TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController',$GLOBALS['TYPO3_CONF_VARS'],NULL,0);
    /* @var $GLOBALS['TSFE'] Frontend\Controller\TypoScriptFrontendController */
    Frontend\Utility\EidUtility::initLanguage();
    $GLOBALS['TSFE']->connectToDB();
    $GLOBALS['TSFE']->initFEuser();
    $GLOBALS['TSFE']->checkAlternativeIdMethods();
    $GLOBALS['TSFE']->clear_preview();
    $GLOBALS['TSFE']->determineId();
    $GLOBALS['TSFE']->initTemplate();
    $GLOBALS['TSFE']->getConfigArray();
    $GLOBALS['TSFE']->cObj = Utility::makeInstance('TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer');
    $GLOBALS['TSFE']->settingLanguage();
    $GLOBALS['TSFE']->settingLocale();
    \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadCachedTca();

The trace is attached.

Reviews 0

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