cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <>
Subject [jira] [Closed] (CAY-2152) Redesign project file upgrade system
Date Tue, 25 Jul 2017 13:03:00 GMT


Nikita Timofeev closed CAY-2152.
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.1.M1

Fixed as part of new project XML handling per commit

No project backup performed.

> Redesign project file upgrade system
> ------------------------------------
>                 Key: CAY-2152
>                 URL:
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>             Fix For: 4.1.M1
> Current project file version upgrade system is relying on loading and saving whole project
structure with all entities in it.
> With this strategy upgrader can easily become unstable as it can not deal with future
> To tolerate any past and future changes (especially incompatible one) project upgrader
should operate only with xml structure.
> To implement this several problems should be kept in mind:
> - new loader and/or saver should be implemented which can operate directly with xml data
> - old upgrade logic should be reimplemented with new design
> - probably project files backups should be done prior upgrade

This message was sent by Atlassian JIRA

View raw message