You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2023/02/24 12:07:00 UTC

[jira] [Updated] (CAY-2800) Modeler saves map.xml files with schema ordering error

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

Nikita Timofeev updated CAY-2800:
---------------------------------
    Fix Version/s: 4.2
                   5.0.M1

> 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.2.RC2
>            Reporter: Roland Szabó
>            Priority: Minor
>             Fix For: 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)