Bug #85228
closed
Invalid count query in SuggestWizardDefaultReceiver
Added by Alexander Stehlik over 6 years ago.
Updated about 6 years ago.
Description
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.
Files
- Related to Bug #78129: Statement::rowCount not reliable for SELECT queries added
- Status changed from New to Under Review
Confirmed exception
An exception occurred while executing 'SELECT COUNT(`uid`)':
Unknown column 'uid' in 'field list'
How to reproduce:
- 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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Related to Bug #101246: Invalid count query in SuggestWizardDefaultReceiver added
Also available in: Atom
PDF