[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 Fri Aug 28 23:05:30 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.