Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1880

Named Queries not processed correctly in XML

    Details

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

      Description

      When attempting to define named queries in XML mapping, they are not correctly passed through to the ClassMetadataInfo instance.

      This is because the attribute syntax ($xmlRoot['named-queries']) is used instead of the child element syntax ({{$xmlRoot->

      {'named-queries'}

      }}).

        Activity

        Hide
        Guilherme Blanco added a comment -

        As per GitHub resolution

        Show
        Guilherme Blanco added a comment - As per GitHub resolution
        Hide
        Josiah added a comment -
        Show
        Josiah added a comment - Added a PR for this issue https://github.com/doctrine/doctrine2/pull/378

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Josiah
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: