settings-bundle
settings-bundle copied to clipboard
Integrity constraint violation error
When I am using the combination of orm_storage adapter + symfony/doctrine-messenger, an Integrity constraint violation error occurs during the second save action.
Removing the cache usage in the ORMStorageAdapter.php file resolved the issue.
It is likely that the doctrine, when working from the messenger, cannot recognize the object in the cache and attempts to create a new one instead of modifying the current one.
#24 could be related, give dev-master a try and see if it solves your issue too, since it is not released yet