Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1340

Missing argument 3 for OptimisticLockException::lockFailedVersionMissmatch()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.1
    • Component/s: ORM
    • Security Level: All
    • 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

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Matti Niemelä
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: