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)

Reply via email to