Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3047

XML Exporter driver does not export association fetch-mode

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      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

        Activity

        Hide
        Menno Holtkamp added a comment -
        Show
        Menno Holtkamp added a comment - Auto-created issue with PR: http://www.doctrine-project.org/jira/browse/DDC-3049
        Show
        Guilherme Blanco added a comment - Merged as of https://github.com/doctrine/doctrine2/commit/4029dc2ea807b1d2ac170b02f36838eb02464004

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Menno Holtkamp
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: