jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Closed] (OAK-6786) Existing version histories are not removed when using --include-versions=false
Date Thu, 05 Oct 2017 17:18:00 GMT

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

Tomek Rękawek closed OAK-6786.
------------------------------

> Existing version histories are not removed when using --include-versions=false
> ------------------------------------------------------------------------------
>
>                 Key: OAK-6786
>                 URL: https://issues.apache.org/jira/browse/OAK-6786
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>            Reporter: Tomek Rękawek
>             Fix For: 1.8
>
>
> For a partial migration, if the destination content already exists and have version histories,
when using {{\-\-include-versions=false}}, the existing histories should be removed from target.
However, it's not the case.
> The reason is that the VersionableEditor is only invoked for the modified content. If
the content is the same both on the source and the target, the VersionableEditor won't be
called and the version histories won't be removed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message