jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1749) JCRUrlConnection relies on nt:file/nt:resource
Date Mon, 22 Sep 2008 10:48:44 GMT

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

Felix Meschberger resolved JCR-1749.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Removed the dependency on the concrete types of nodes accessed. Rather check for the actual
data present or not. This mostly is of importance in the Util class providing access to the
URL's data property. The other location of importance is the JCRURLConnection.connect() method,
which loads the content length, content type and last modification time fields from the repository.

Fixed in Rev. 697778.

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


Mime
View raw message