Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2884

[GH-896] Ensure <cascade/> elements preceed <join-columns/>

    Details

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

      Description

      This issue is created automatically through a Github pull request on behalf of holtkamp:

      Url: https://github.com/doctrine/doctrine2/pull/896

      Message:

      When converting annotations based metadata to XML, the position of the ```<cascade/>``` elements in the generated files resulted in XSD validation errors caused by the definitions of the association ComplexTypes:

      Since changing the XSD might result in validation problems in existing mappings, changing the XmlExporter seems a better approach.

      Note that the ```<cache/>``` element is not yet generated by the XmlExporter, but according to the XML Schema, it should precede the ```<cascade/>``` element.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-896] was closed:
        https://github.com/doctrine/doctrine2/pull/896

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-896] was closed: https://github.com/doctrine/doctrine2/pull/896

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: