You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Roland Szabó (Jira)" <ji...@apache.org> on 2023/02/22 16:49:00 UTC
[jira] [Created] (CAY-2800) Modeler saves map.xml files with schema ordering error
Roland Szabó created CAY-2800:
---------------------------------
Summary: 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ó
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)