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

Robert Munteanu updated OAK-6580:
---------------------------------
    Attachment: 0001-OAK-6580-Ensure-mounts-are-consistent-with-the-node-.patch

I am trying to reuse the logic from the {{TypeEditor}} for this new check. I 
propose make the {{EffectiveType}} public and also introducing an 
{{EffectiveTypeFactory}} to allow access to selected methods.

The attached patch shows how this could work.

[~mduerig], [~anchela] - any thoughts on this approach?

> Ensure mounts are consistent with the node type registry
> --------------------------------------------------------
>
>                 Key: OAK-6580
>                 URL: https://issues.apache.org/jira/browse/OAK-6580
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: composite
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: 1.8, 1.7.7
>
>         Attachments: 
> 0001-OAK-6580-Ensure-mounts-are-consistent-with-the-node-.patch
>
>
> When a mount is added, we should make sure that the nodes are:
> * defined in the NodeTypeRegistry
> * consistent with the node type definitions



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

Reply via email to