Project

General

Profile

Bug #84785

Updated by Timo Hund almost 6 years ago

Between 8 LTS and 9.2 the order of the execution of the following hooks was changed: 

 8.7 

 - First: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preprocessRequest'] 
 - Second: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'] 

 9.2 

 - First: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'] 
 - Second: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preprocessRequest'] 

 I could fix that by changing the order of the RequestMiddlewares in (sysext/frontend/Configuration/RequestMiddlewares.php) 

 from
 

 <pre> 
 'typo3/cms-frontend/tsfe' => [
     
   'target' => \TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::class,
     
   'after' => [
         
       'typo3/cms-core/normalized-params-attribute',
     
    ] 
 
], 
 
 
 </pre> 
 to 

 <pre> 
 'typo3/cms-frontend/tsfe' => [
     
    'target' => \TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::class,
     
    'after' => [
         
       'typo3/cms-frontend/eid',
 'typo3/cms-frontend/preprocessing',
 
    ] 
 
], 
 </pre> 

 but since i do not know if this is intended or if this break the order for other hooks it would be nice when somebody with a deeper knowledge of TypoScriptFontendController can have a look on it 

Back