Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Indexing record outside siteroot throws exception #1299

Conversation

timohund
Copy link
Contributor

When a record outside the siteroot was indexed the following exception was thrown:

  • TYPO3\CMS\Core\Error\Http\ServiceUnavailableException: No TypoScript template found! in TypoScriptFrontendController.php:2554

This PR:

  • Uses the configuration of the siteroot when no configuration is present
  • Uses the root page id of the site to generate the document id of the record

Fixes: #1291

When a record outside the siteroot was indexed the following exception was thrown:

* TYPO3\CMS\Core\Error\Http\ServiceUnavailableException: No TypoScript template found! in TypoScriptFrontendController.php:2554

This PR:

* Uses the configuration of the siteroot when no configuration is present
* Uses the root page id of the site to generate the document id of the record

Fixes: TYPO3-Solr#1291
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant