Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1524

NamedQueries annotation doesn't work with just one NamedQuery

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      NamedQueries annotation doesn't work with just one NamedQuery

      the problem is locale in the class Doctrine\ORM\Mapping\Driver\AnnotationDriver line 179.

      Is needed validate if var $namedQueriesAnnot->value is an array before try perform foreach statement.

      Please I'm sorry for my bad English.

      Thank you

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Thiago Luiz Alves
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: