You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/09/22 15:14:44 UTC

[jira] Commented: (JCR-1749) JCRUrlConnection relies on nt:file/nt:resource

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

Felix Meschberger commented on JCR-1749:
----------------------------------------

Backported fix from Rev. 697778 in trunk to 1.4 branch Rev. 697809 to prepare for classloader 1.4.1 release

> JCRUrlConnection relies on nt:file/nt:resource
> ----------------------------------------------
>
>                 Key: JCR-1749
>                 URL: https://issues.apache.org/jira/browse/JCR-1749
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-classloader
>    Affects Versions: 1.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: classloader 1.4.1
>
>
> The JCRUrlConnection class implementing the jcr: URL handler for the JCR class loader relies on the fact that the intended primary type of the jcr:content child node of an nt:file node is of type nt:resource. When writing files with the Jackrabbit WebDAV server this is not the case as the jcr:content child node is of type nt:unstructured.
> As a result the JCRUrlConnection.connect method fails with an ItemNotFoundException in the Util.getProperty(Item)  method because the primary item of the nt:unstructured node type is not defined.

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