[ 
https://issues.apache.org/jira/browse/OAK-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628312#comment-16628312
 ] 

Amit Jain commented on OAK-7779:
--------------------------------

[~stillalex] The patch which ignores the path 
{{/jcr:system/rep:namespaces/rep:nsdata}}. Ignoring just the 
{{jcr:system/rep:namespaces}} does not work likely because of the condition 
[1]. The alternative is to move [2] out of the if block and then ignore 
{{jcr:system/rep:namespaces}} should work (But I have not tested that).

Since, you know the code better would you like to take over?

[1] 
[https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java#L75]
 [2] 
[https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java#L86]

> Ignore copying of namespace index node in InitialContentMigrator
> ----------------------------------------------------------------
>
>                 Key: OAK-7779
>                 URL: https://issues.apache.org/jira/browse/OAK-7779
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, store-composite
>            Reporter: Amit Jain
>            Priority: Blocker
>             Fix For: 1.10, 1.9.9
>
>         Attachments: OAK-7779.patch
>
>
> The namespace index node \{{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to