teaminmedias-pluswerk / ke_search

Search Extension for TYPO3 Content Management System, including faceting search functions.
https://extensions.typo3.org/extension/ke_search/
GNU General Public License v3.0
35 stars 62 forks source link

Doctrine\DBAL\Exception\NotNullConstraintViolationException when assigning a filter to a category #410

Closed medarob closed 2 years ago

medarob commented 3 years ago

In the search tab of a news system category I wanted to add a filter to this category. After selecting the filter and saving the form the following error appeared:

grafik

The save process seems to have worked though. The filter is correctly assigned to the category inside the search tab and another filter option was automatically created. The filter option was assigned to the filter.

But the exception in the BE shouldn't happen but not sure what had caused it...

christianbltr commented 3 years ago

Thanks for reporting. Unfortunately I cannot reproduce this issue.

Did this appear only once or can you constantly reproduce it?

I'm not sure what could cause this issue. The value for "pid" is null, but this value is taken from the filter record which is assigned to the system category. Since you selected a filter, there should also be a pid value.

christianbltr commented 2 years ago

I tested this again with ke_search 4.1.0 and TYPO3 11 and could not reproduce the issue, therefore I'm closing this. Feel free to open another issue at https://github.com/tpwd/ke_search/issues if it still occurs.