[
https://issues.apache.org/jira/browse/OAK-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated OAK-6440:
----------------------------------
Attachment: OAK-6440-1.patch
There's a problem with the previous patch. It doesn't work well with existing
node type definitions written by previous versions of Oak. Depending on the Oak
version and the node type registration mechanism used, nt:base may be present
as declared supertype or not.
The new patch [^OAK-6440-1.patch] simply ignores nt:base when a diff of
supertypes is done.
> Incorrect node type diff
> ------------------------
>
> Key: OAK-6440
> URL: https://issues.apache.org/jira/browse/OAK-6440
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.6.0
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.8
>
> Attachments: OAK-6440-1.patch, OAK-6440.patch
>
>
> The type editor in Oak checks if a change to a node type requires a
> repository traversal to verify the existing content conforms to the new type.
> In some cases the current implementation detects a major change in type
> changes even though it is only minor.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)