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
136 stars 246 forks source link

[BUG] SearchFormViewHelper triggers $contentObject must not be accessed before initialization #3619

Closed georgringer closed 1 year ago

georgringer commented 1 year ago

Using the latest alpha2 branch getting the exception

Typed property TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::$contentObject must not be accessed before initialization

image

bmack commented 1 year ago

This should be fixed now with https://github.com/TYPO3-Solr/ext-solr/commit/704850432948a619821290211dc77e6b4880db96

dmitryd commented 1 year ago

I cannot reproduce the issue anymore. It would happen only if UriBuilder's initalizeObject was not called. Now it seems all is fine.

dkd-kaehm commented 1 year ago

Then I'll close this issue. See: https://github.com/TYPO3-Solr/ext-solr/issues/3619#issuecomment-1542787805