Open luzat opened 3 months ago
Unfortunately I could not reproduce this issue.
I tried it with the same setup (TYPO3 11.5.35, PHP 8.1, current ke_search master).
When I create a new category the $recordUid is indeed a string, but replaced into an integer in the next step by looking it up in $parentObject->substNEWwithIDs
ke_search/Classes/Hooks/FilterOptionHook.php
When I save an existing category, the $recordUid is an integer right away.
Could you show what value you are getting and maybe give some hints on how to reproduce this?
On TYPO3 11.5.35 and PHP 8.1 with EXT:ke_search from at least 5.3.0 to 5.4.1 I get the following error when trying to create/save a new category in the backend:
Casting the
$recordUid
in the call fromprocessDatamap_afterDatabaseOperations
works for me.