[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 Mon Nov 24 09:29:30 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.