A TYPO3 extension that integrates the Apache Solr search server with TYPO3 CMS. dkd Internet Service GmbH is developing the extension. Community contributions are welcome. See CONTRIBUTING.md for details.
GNU General Public License v3.0
137
stars
252
forks
source link
[BUG] getPageOverlay hook was not converted to service in ext-solr 12.x #4151
Describe the bug
When debugging some 403 errors in the indexing of pages we discovered that the
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPageOverlay'][CLASS]
hook that was deprecated and removed with TYPO3 12 deprecation
has not been converted into the corresponding PSR-14 Event and thus resulting in that the method
getPageOverlay_preProcess is never called and processed
To Reproduce
Steps to reproduce the behavior:
Using the feature extendToSubpages results in that pages are not indexed properly
Expected behavior
Pages should be indexed properly
Used versions (please complete the following information):
TYPO3 Version: 12.4.x
EXT:solr Version: 12.0.5
PHP Version: 8.3
MySQL Version: 8.4
Additional context
By inspecting the code I believe this has been properly solved in TYPO3 13 by adding the attribute
Describe the bug When debugging some 403 errors in the indexing of pages we discovered that the $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPageOverlay'][CLASS] hook that was deprecated and removed with TYPO3 12 deprecation has not been converted into the corresponding PSR-14 Event and thus resulting in that the method getPageOverlay_preProcess is never called and processed
To Reproduce Steps to reproduce the behavior:
Expected behavior Pages should be indexed properly
Used versions (please complete the following information):
Additional context By inspecting the code I believe this has been properly solved in TYPO3 13 by adding the attribute
[AsEventListener