DDC-1880: Named Queries not processed correctly in XML #2374

Closed
opened 2026-01-22 13:50:57 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jun 18, 2012).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user auswebdev:

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'}).

Originally created by @doctrinebot on GitHub (Jun 18, 2012). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user auswebdev: 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'`}).
admin added the Bug label 2026-01-22 13:50:57 +01:00
admin closed this issue 2026-01-22 13:50:59 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 18, 2012):

Comment created by auswebdev:

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

@doctrinebot commented on GitHub (Jun 18, 2012): Comment created by auswebdev: Added a PR for this issue https://github.com/doctrine/doctrine2/pull/378
Author
Owner

@doctrinebot commented on GitHub (Jun 22, 2012):

Comment created by @guilhermeblanco:

As per GitHub resolution

@doctrinebot commented on GitHub (Jun 22, 2012): Comment created by @guilhermeblanco: As per GitHub resolution
Author
Owner

@doctrinebot commented on GitHub (Jun 22, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jun 22, 2012): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2374