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

        Matti Niemelä created issue -
        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.1 [ 10153 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12937 ] jira-feedback [ 15003 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15003 ] jira-feedback2 [ 16867 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16867 ] jira-feedback3 [ 19120 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1340, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: