You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (Jira)" <ji...@apache.org> on 2024/05/02 13:16:00 UTC
[jira] [Created] (OAK-10784) o.a.j.o.plugins.migration.version.VersionableEditor should created the version storage node, if needed
Manfred Baedke created OAK-10784:
------------------------------------
Summary: o.a.j.o.plugins.migration.version.VersionableEditor should created 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
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 simple 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)