Bug #98173
closed`storeSession=false` in v10 f:widget.autocomplete provokes errors
0%
Description
The problem is that I am getting the following error message when typing anything in my search field:
http://www.local-website.com/?id=2&type=7076&action=autocomplete&term=teststring - 500 (Internal Server Error).. After examining the exact response of that page request, here's the specific error:
"No widget context was found for the Ajax Widget Identifier "". This only happens if AJAX URIs are called without including the widget on a page"
This happens if the new parameter storeSession="false" is used. In TYPO3 v9 this parameter didn't exist.
Using the widget like this should work like intended:
<f:widget.autocomplete for="search-items" objects="{allItems}" searchProperty="title"/>
Usually the parameteres look like this:
?id=1&type=7076&fluid-widget-id=9c31f0bb1b5f5f953e84f6b57af102b4&action=autocomplete&term=Ma
When the parameter storeSession=false is used it looks like this:
?id=1&type=7076&action=autocomplete&term=Ma
That means that the widget doesn't transfer the correct link to the AJAX script.
Updated by Torben Hansen over 2 years ago
Sidenote: All Fluid widget functionality has been deprecated in TYPO3 v10 and removed in TYPO3 v11 (https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92529-AllFluidWidgetFunctionalityRemoved.html). If you update a v9 project to v10 currently and if project budget fits, I would highly recommend to replace all Fluid widget functionality during the update.
Updated by David Bruchmann over 2 years ago
Thanks, that's known, I mentioned it on SO too and wrote that therefore it's unlikely that the bug will be fixed.
Updated by Georg Ringer over 2 years ago
- Status changed from New to Rejected
thanks for creating the issue. as already explained it won't get fixed. therefore I am closing the issue