georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
265 stars 355 forks source link

Problem with indexed_search #2228

Closed mweber1973 closed 6 months ago

mweber1973 commented 1 year ago

Bug Report

I want to use indexed_search. When I put

<f:form action="search" method="post" id="tx_indexedsearch" pageUid="63">
</f:form>

in my pagetemplate the error

GeorgRinger\News\Xclass\ExtensionServiceXclassed::getPluginNameByAction(): Argument #1 ($extensionName) must be of type string, null given, called in typo3_src-11.5.32/typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php on line 557

occurs.

Bug or my fault?

Environment

georgringer commented 1 year ago

if you would rename the method in ExtensionServiceXclassed I guess you would get the same error from ExtensionService. if yes, this is your error.

why not provide the extensionName argument?

mweber1973 commented 1 year ago

For all who get the same error: