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

Jukka Zitting resolved OAK-1213.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12

Fixed in revision 1544280 with {{nt:unstructured}}. We use the same type also 
for {{/jcr:system/rep:namespaces}}.

I don't see any particular reason to worry about versioning behavior here.

> Namespaces index node oak:namespaces should have a primary type
> ---------------------------------------------------------------
>
>                 Key: OAK-1213
>                 URL: https://issues.apache.org/jira/browse/OAK-1213
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Parvulescu
>            Assignee: Jukka Zitting
>             Fix For: 0.12
>
>
> It looks like the 'oak:namespaces' node is missing a primary node type.
> {noformat}
> javax.jcr.RepositoryException: Node at 
> /jcr:system/rep:namespaces/oak:namespaces has no primary type.
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getEffectiveNodeType(ReadOnlyNodeTypeManager.java:355)
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:405)
>       at 
> org.apache.jackrabbit.oak.jcr.session.PropertyImpl$9.perform(PropertyImpl.java:394)
>       at 
> org.apache.jackrabbit.oak.jcr.session.PropertyImpl$9.perform(PropertyImpl.java:391)
>       at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:128)
>       at 
> org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
>       at 
> org.apache.jackrabbit.oak.jcr.session.PropertyImpl.getDefinition(PropertyImpl.java:391)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to