#80803Doctrine NotNullConstraintViolationException when changing site langauge on result page
Description
When the site-language is changed on the result list of indexed_search it tries to write an ‘index_stat_search’ record (SearchController Line 818). But as the searchword is null and the searchword-column is not nullable, Doctrine throws an NotNullConstraintViolationException.
In 7 LTS this error was silent (no DBAL) and there was simply no index_stat_search written.
Shouldn’t there be a check that prevents index_stat_search from being written if the searchword is null? (SearchController.php Line 301)
Problem can be reproduced on a fresh 8 LTS TYPO3 distribution, exact PHP Version is 7.0.15.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.