Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1977

Undefined index in ParameterTypeInferer

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.2.4, 2.3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None
    • Environment:

      Description

      Trying to bind an empty array as a parameter to a raw SQL query results in an undefined index error on line 59.

      https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/ParameterTypeInferer.php#L59

        Activity

        Matt Button created issue -
        Fabio B. Silva made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Fabio B. Silva [ fabio.bat.silva ]
        Fabio B. Silva made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.3 [ 10185 ]
        Fix Version/s 2.2.3 [ 10196 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.2.4 [ 10322 ]
        Fix Version/s 2.2.3 [ 10196 ]

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Matt Button
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: