[DDC-1340] Missing argument 3 for OptimisticLockException::lockFailedVersionMissmatch() Created: 20/Aug/11  Updated: 21/Aug/11  Resolved: 21/Aug/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.1
Fix Version/s: 2.1.1
Security Level: All

Type: Bug Priority: Minor
Reporter: Matti Niemelä Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None
Environment:

Doctrine\ORM::VERSION = 2.1.0RC3



 Description   

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



 Comments   
Comment by Benjamin Eberlei [ 21/Aug/11 ]

Fixed

Generated at Fri Apr 25 00:34:20 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.