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 10:22:44 UTC

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

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

Felix Meschberger updated JCR-1749:
-----------------------------------

    Component/s: jackrabbit-classloader

> 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
>
> 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.