TYPO3-Solr / ext-solr

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 253 forks source link

[FEATURE] Check for TYPO3 redirect to suppress exception in PageIndexer #4007

Open josefglatz opened 7 months ago

josefglatz commented 7 months ago

If the editor creates a redirect (probably also a temporary redirect) the page indexer throws an exception while indexing the not accessible page.

I'm not sure if the page indexer should follow or not. However an exception for this would be nice to catch in the solr extension from my POV.

What about checking first if a redirect targets a page first? Or could it be another good way to deactivate the redirects if the page indexer is accessing the frontend?

Issue created with version TYPO3 12.stable and solr extension 12.0

spoonerWeb commented 6 months ago

Shouldn't that be handled with the allowedPageTypes configuration? @josefglatz

See: plugin.tx_solr.index.queue.pages.allowedPageTypes

grafik