DDC-3047: XML Exporter driver does not export association fetch-mode #3784

Closed
opened 2026-01-22 14:28:00 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 25, 2014).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user holtkamp:

While exporting (annotations based) metadata to XML, the 'fetch-mode' of the associations seems to be skipped by the XML Exporter
927d69b61a/lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php (L234)

This should result in an XML attribute named 'fetch' of type 'fetch-type': 927d69b61a/doctrine-mapping.xsd (L277)

Will try to come up with a PR + test

Originally created by @doctrinebot on GitHub (Mar 25, 2014). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user holtkamp: While exporting (annotations based) metadata to XML, the 'fetch-mode' of the associations seems to be skipped by the XML Exporter https://github.com/doctrine/doctrine2/blob/927d69b61a520e939c2f2e4105329907850e61fa/lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php#L234 This should result in an XML attribute named 'fetch' of type 'fetch-type': https://github.com/doctrine/doctrine2/blob/927d69b61a520e939c2f2e4105329907850e61fa/doctrine-mapping.xsd#L277 Will try to come up with a PR + test
admin added the Bug label 2026-01-22 14:28:00 +01:00
admin closed this issue 2026-01-22 14:28:00 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 26, 2014):

Comment created by holtkamp:

Auto-created issue with PR: http://www.doctrine-project.org/jira/browse/DDC-3049

@doctrinebot commented on GitHub (Mar 26, 2014): Comment created by holtkamp: Auto-created issue with PR: http://www.doctrine-project.org/jira/browse/[DDC-3049](http://www.doctrine-project.org/jira/browse/DDC-3049)
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Comment created by @guilhermeblanco:

Merged as of 4029dc2ea8

@doctrinebot commented on GitHub (Apr 16, 2014): Comment created by @guilhermeblanco: Merged as of https://github.com/doctrine/doctrine2/commit/4029dc2ea807b1d2ac170b02f36838eb02464004
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 16, 2014): 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#3784