[ 
https://issues.apache.org/jira/browse/JCR-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701895#action_12701895
 ] 

Alexander Klimetschek commented on JCR-2070:
--------------------------------------------

Just out of curiosity: your patch actually adds the addNode("jcr:content") call 
w/o an explicit node type to the jcr server code. This does not really fit with 
the description of this issue... What is the default value for 
getContentNodeType() and/or is it configurable? Puzzled ;-)

> jcr-server should respect node type definition jcr:content
> ----------------------------------------------------------
>
>                 Key: JCR-2070
>                 URL: https://issues.apache.org/jira/browse/JCR-2070
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Michael Dürig
>         Attachments: JCR-2070.patch
>
>
> When creating a new file, jcr:content defaults to nt:unstructured. This 
> causes file creation to fail when the underlying persistent store (i.e. SPI 
> implementation) does not support nt:unstructured for jcr:content. 
> I suggest to check whether the underlying implementation provides its own 
> node type for jcr:content and use that one. If not, default to 
> nt:unstructured.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to