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.3, 2.3.1
    • 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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: