Fluid autocomplete widget not working anymore
The autocomplete widget in below frontend template worked well in TYPO3 CMS 8.7.9. After updating the core to 8.7.10, no autocomplete suggestions are shown anymore. With downgrading and updating between 8.7.9 and 8.7.10 this problem can be reproduced every time. It also does not work in versions 8.7.11 and 8.7.12.
In the version 8.7.10 release notes I found that typo3fluid/fluid was updated to 2.5.0 (a8da855525). However, I did not find relevant changes in the corresponding fluid viewhelper PHP files neither any documentation concerning changes in thie viewhelper widget.
Updated by Daniel Widmer over 2 years ago
Meanwhile I am one step further. I previously used a customized template for the autocomplete widget which has "->f:format.raw()" added to the ajax source address:
Without that, the address is used with & instead of & which seems to hinder the autocomplete feature to work.
The reason why autocomplete does not work when updating the core from 8.7.9 to 8.7.10 is that the typoscript
config.tx_extbase.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\AutocompleteViewHelper.templateRootPaths.10 = fileadmin/templates/fluid_styled_content/Templates/
seems to have no longer an effect -- the template html file of the core is alyways used, not my customized one. Is this maybe related to Bug #73207?
- Status changed from New to Needs Feedback
Please confirm if this is still an issue. We have received no other reports so this could potentially either be solved without marking this issue as closed, or could depend on a specific context that is not described in this issue.
Diff between 8.7.9 and 8.7.10 shows only two patches related to Fluid:
- Bump of version to 2.5.0
- A fix for recursive FLUIDTEMPLATE objects
Diff for TYPO3 CMS: https://github.com/TYPO3/TYPO3.CMS/compare/v8.7.9...8.7.10
Diff for Fluid: https://github.com/TYPO3/Fluid/compare/2.4.3...2.5.0
Patch for FLUIDTEMPLATE: https://github.com/TYPO3/TYPO3.CMS/commit/dbf5f643b5fe9574eb204708b9dc77b404a26f68 (relevant if my perception is correct that this is an override template for FSC, which uses FLUIDTEMPLATE for rendering)
Please confirm if this is still a problem in more recent releases of TYPO3 8.7.
Likely fixed by: https://review.typo3.org/c/Packages/TYPO3.CMS/+/54156/