You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/04/23 15:19:30 UTC

[jira] Commented: (JCR-2070) jcr-server should respect child node definition of jcr:content

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

Jukka Zitting commented on JCR-2070:
------------------------------------

Not sure if asking the primary node type is enough, we should probably check all the mixin types too.

> jcr-server should respect child node definition of 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-1.patch, 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.