1
0
mirror of synced 2025-01-09 02:27:10 +03:00
doctrine2/lib/Doctrine/ORM/Tools
Menno Holtkamp 85a16f9f28 Ensure <cascade/> elements preceed <join-columns/>
When converting annotations based metadata to XML, the position of the <cascade/> elements resulted in XSD validation errors caused by the definitions of the association ComplexTypes:
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L463
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L482
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L495
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L517

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.
2014-01-05 15:34:59 +01:00
..
Console [DDC-2128] Fix PR according to comments. 2014-01-03 00:15:14 +01:00
Event Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
Export Ensure <cascade/> elements preceed <join-columns/> 2014-01-05 15:34:59 +01:00
Pagination Merge pull request #797 from peterkokot/patch-1 2013-11-16 10:52:09 -08:00
AttachEntityListenersListener.php Event listener to programmatically attach entity listeners. 2013-11-18 15:03:00 -05:00
ConvertDoctrine1Schema.php Fixed documentation for Doctrine\ORM\Tools 2012-12-13 18:55:44 +00:00
DebugUnitOfWorkListener.php Proxy generation as of doctrine/common#168 - DCOM-96 2013-02-14 09:57:12 +01:00
DisconnectedClassMetadataFactory.php Fixed documentation for Doctrine\ORM\Tools 2012-12-13 18:55:44 +00:00
EntityGenerator.php Allow to not generate extra use 2013-12-30 04:43:35 +02:00
EntityRepositoryGenerator.php Fixed documentation for Doctrine\ORM\Tools 2012-12-13 18:55:44 +00:00
ResolveTargetEntityListener.php Fixed documentation for Doctrine\ORM\Tools 2012-12-13 18:55:44 +00:00
SchemaTool.php Merge pull request #537 from Powerhamster/joined-composite-keys 2013-05-04 05:59:02 -07:00
SchemaValidator.php Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
Setup.php Remove mentions of PEAR installation method, remove code. 2013-02-15 01:04:29 +01:00
ToolEvents.php Fixed typos 2013-03-11 00:08:58 +00:00
ToolsException.php Fixed documentation for Doctrine\ORM\Tools 2012-12-13 18:55:44 +00:00