settings-bundle icon indicating copy to clipboard operation
settings-bundle copied to clipboard

Integrity constraint violation error

Open kuzmichevAnton opened this issue 10 months ago • 1 comments

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.

kuzmichevAnton avatar Mar 20 '25 15:03 kuzmichevAnton

#24 could be related, give dev-master a try and see if it solves your issue too, since it is not released yet

Nogrod avatar Mar 27 '25 21:03 Nogrod