[
https://issues.apache.org/jira/browse/CAY-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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
https://github.com/apache/cayenne/commit/38553b1603b9622a6eae691131a4106591649556
No project backup performed.
> Redesign project file upgrade system
> ------------------------------------
>
> Key: CAY-2152
> URL: https://issues.apache.org/jira/browse/CAY-2152
> 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 changes.
> 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
(v6.4.14#64029)