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 -
        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 ]
        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 ]

          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: