Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
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'}}}).
Added a PR for this issue https://github.com/doctrine/doctrine2/pull/378