[DDC-1880] Named Queries not processed correctly in XML Created: 18/Jun/12  Updated: 22/Jun/12  Resolved: 22/Jun/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: 2.2.2
Fix Version/s: 2.3
Security Level: All

Type: Bug Priority: Major
Reporter: Josiah Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
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'}

}}).



 Comments   
Comment by Josiah [ 18/Jun/12 ]

Added a PR for this issue https://github.com/doctrine/doctrine2/pull/378

Comment by Guilherme Blanco [ 22/Jun/12 ]

As per GitHub resolution

Generated at Tue Jun 18 21:18:11 UTC 2013 using JIRA 5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5.