cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Natallia (Jira)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2595) ObjAttributes are not sorted in alphabetical ordering on save
Date Thu, 19 Sep 2019 15:59:00 GMT

    [ https://issues.apache.org/jira/browse/CAY-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933534#comment-16933534
] 

Natallia commented on CAY-2595:
-------------------------------

Verified, passed according to [https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#compareTo(java.lang.String)] 

> ObjAttributes are not sorted in alphabetical ordering on save
> -------------------------------------------------------------
>
>                 Key: CAY-2595
>                 URL: https://issues.apache.org/jira/browse/CAY-2595
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.1.B2
>            Reporter: Andrus Adamchik
>            Priority: Major
>             Fix For: 4.1.B3, 4.2.M1
>
>
> After dbimporting a model, I noticed that ObjAttributes inside the entities are saved
in XML in the order that is not alphabetical. Opened the same model in the Modeler, made some
changes, saved again. The order is still not alphabetical. The rest of the model objects (DbAttributes,
entites, etc.) seem to be sorted correctly.
> Opened the same model in CM 4.0.1 (after manually downgrading it to be compatible with
the older modeler). Saving in 4.0.1 restores alpha ordering for attributes. So this is a new
bug. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message