Skip to content


DDC-1340: Missing argument 3 for OptimisticLockException::lockFailedVersionMissmatch() #1957

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user ambis:

UnitOfWork.php line 1409
throw OptimisticLockException::lockFailedVersionMissmatch($entityVersion, $managedCopyVersion);

OptimisticLockException.php line 54
public static function lockFailedVersionMissmatch($entity, $expectedLockVersion, $actualLockVersion)

No 3rd param in call or default in method declaration.

Warning: Missing argument 3 for Doctrine\ORM\OptimisticLockException::lockFailedVersionMissmatch(), called in /mnt/hgfs/Sites/library/Doctrine2/lib/Doctrine/ORM/UnitOfWork.php on line 1409 and defined in /mnt/hgfs/Sites/library/Doctrine2/lib/Doctrine/ORM/OptimisticLockException.php on line 54


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.1.1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.