Invalid count query in SuggestWizardDefaultReceiver
This is a regression from #78129:
The count query in the
queryTable() method in the
SuggestWizardDefaultReceiver does not respect the constraints set in the constructor and it is invalid because the table name is missing.
As far as I can see the count query is not needed and can be removed.
[BUGFIX] Respect query constraints in suggest receiver count
The query builder that fetches the results in the suggest
receiver is re-used to get the correct count of available
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>
Reviewed-by: Markus Klein <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
#5 Updated by Oliver Hader almost 2 years ago
- use TYPO3 v9 (master)
- edit some element making use of the suggest wizard in form engine, e.g. pages, "appearance" tab, field "replace content"
- type in some name that shall be auto completed, e.g. "media"
- see the HTTP 500 error in the browser's console pointing out the SQL error