[
https://issues.apache.org/jira/browse/OAK-10784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manfred Baedke resolved OAK-10784.
----------------------------------
Resolution: Fixed
> o.a.j.o.plugins.migration.version.VersionableEditor should create the version
> storage node, if needed
> -----------------------------------------------------------------------------------------------------
>
> Key: OAK-10784
> URL: https://issues.apache.org/jira/browse/OAK-10784
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Manfred Baedke
> Assignee: Manfred Baedke
> Priority: Major
> Fix For: 1.64.0
>
>
> The method VersionableEditor#createEmptyHistory() is called if the migration
> of versions is disabled, but the node type of a migrated node strictly
> requires it to be versionable, because it inherits from mix:versionable (so
> that mix:versionable can't simply be removed). This may fail if the version
> storage node has not been explicitly created before the migration. Just
> creating the necessary node would be a more straightforward behavior.
> Also we should change the name of that method, see OAK-10783.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)