Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1849

Paginator: The Parameter Types are not set in Function cloneQuery

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.3
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      The Parameter-Types are not set in the Function cloneQuery in the Paginator-Class (Doctrine/ORM/Tools/Pagination/Paginator.php line 172):

      $cloneQuery->setParameters($query->getParameters());

      But it should be:

      $cloneQuery->setParameters($query->getParameters(), $query->getParameterTypes());

        Activity

        Aline Blaser created issue -
        Hide
        Marco Pivetta added a comment -

        Could you try to use latest master? This should already be solved as now parameters are instances of `Doctrine\ORM\Query\Parameter`, which also means that they enclose their type

        Show
        Marco Pivetta added a comment - Could you try to use latest master? This should already be solved as now parameters are instances of `Doctrine\ORM\Query\Parameter`, which also means that they enclose their type
        Hide
        Guilherme Blanco added a comment -

        Fixed in master

        Show
        Guilherme Blanco added a comment - Fixed in master
        Guilherme Blanco made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Fix Version/s 2.3 [ 10185 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13745 ] jira-feedback [ 15364 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15364 ] jira-feedback2 [ 17228 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17228 ] jira-feedback3 [ 19484 ]

        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-1849, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Aline Blaser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: