JCRUrlConnection relies on nt:file/nt:resource
----------------------------------------------
Key: JCR-1749
URL: https://issues.apache.org/jira/browse/JCR-1749
Project: Jackrabbit
Issue Type: Bug
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.