[ 
https://issues.apache.org/jira/browse/CAY-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Timofeev closed CAY-2800.
--------------------------------
    Resolution: Fixed

*4.1*: 
https://github.com/apache/cayenne/commit/f6190a518ca2e4a3a908a490d2d4b67c9d4be467
*4.2*: 
https://github.com/apache/cayenne/commit/50236274793f3d42fd95fa5220779a838c0e49b8
*5.0*: https://github.com/apache/cayenne/pull/578

> Modeler saves map.xml files with schema ordering error
> ------------------------------------------------------
>
>                 Key: CAY-2800
>                 URL: https://issues.apache.org/jira/browse/CAY-2800
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.1.1, 4.2.RC2
>            Reporter: Roland Szabó
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.1.2, 4.2, 5.0.M1
>
>
> When I define an object entity with an embedded attribute, the modeler 
> exports the map file in XML format with the attribute children of the 
> obj-entity ordered by the attribute name, mixing obj-attribute and 
> embedded-attribute nodes. However the schema definition for the XML expects 
> the embeded-attribute nodes before the obj-attribute nodes.
> Of course after I manually reorder the map file contents, the Modeler asks 
> for a reload and works properly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to