Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1840

Create ParameterCollection indexed and implement it on AbstractQuery and QueryBuilder

    Details

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

      Description

      Currently, method setParameters in AbstractQuery and QueryBuilder only appends new parameters to the list. It should actually override the existing ones.
      To be able to correctly fix this, we need to create a ParameterCollection which we can use/reuse to set/remove/append new parameters.
      These elements should also support parameter types.

        Activity

        guilhermeblanco Guilherme Blanco created issue -
        Hide
        beberlei Benjamin Eberlei added a comment -

        Not a bug

        Show
        beberlei Benjamin Eberlei added a comment - Not a bug
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 13733 ] jira-feedback [ 14070 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14070 ] jira-feedback2 [ 15934 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15934 ] jira-feedback3 [ 18184 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10321 ]
        Fix Version/s 2.3 [ 10185 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.5 [ 10522 ]
        Fix Version/s 2.4 [ 10321 ]
        Hide
        ocramius Marco Pivetta added a comment -

        Already resolved in 2.3.x

        Show
        ocramius Marco Pivetta added a comment - Already resolved in 2.3.x
        ocramius Marco Pivetta made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        Resolution Fixed [ 1 ]
        ocramius Marco Pivetta made changes -
        Fix Version/s 2.3 [ 10185 ]
        Fix Version/s 2.5 [ 10522 ]

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

          People

          • Assignee:
            ocramius Marco Pivetta
            Reporter:
            guilhermeblanco Guilherme Blanco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: