You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/02/28 16:53:12 UTC

[jira] [Commented] (JCR-3527) Webdav impl should verify if the repostory supports shared node sets

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

Alex Parvulescu commented on JCR-3527:
--------------------------------------

ok, too cryptic :)

Here's an example of what it looks like when you just browse via webdav with Oak as a repo [0].
While this is just a warning for browse, whenever you try to delete a file it will just fail because the #removeShare call throws an exception.

[0]
{noformat}
*WARN* [127.0.0.1 [1361870568828] PROPFIND /test-content HTTP/1.1] org.apache.jackrabbit.webdav.simple.DavResourceImpl unable to calculate parent set javax.jcr.UnsupportedRepositoryOperationException: TODO: Node.getSharedSet
	at org.apache.jackrabbit.oak.jcr.NodeImpl.getSharedSet(NodeImpl.java:1256)
	at org.apache.jackrabbit.webdav.simple.DavResourceImpl.getParentElements(DavResourceImpl.java:856)
	at org.apache.jackrabbit.webdav.simple.DavResourceImpl.initProperties(DavResourceImpl.java:343)
	at org.apache.jackrabbit.webdav.simple.DavResourceImpl.getProperty(DavResourceImpl.java:292)
	at org.apache.jackrabbit.webdav.MultiStatusResponse.<init>(MultiStatusResponse.java:186)
	at org.apache.jackrabbit.webdav.MultiStatus.addResourceProperties(MultiStatus.java:61)
	at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doPropFind(AbstractWebdavServlet.java:560)
	at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:348)
	at org.apache.jackrabbit.webdav.server.AbstractWebdavSer
vlet.service(AbstractWebdavServlet.java:291)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
{noformat}
                
> Webdav impl should verify if the repostory supports shared node sets
> --------------------------------------------------------------------
>
>                 Key: JCR-3527
>                 URL: https://issues.apache.org/jira/browse/JCR-3527
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.6
>            Reporter: Alex Parvulescu
>            Priority: Minor
>
> The Webdav impl assumes that the repository supports shared node sets and calls the methods directly for almost all the operations.
> This affects DAV related ops when using a repo impl that doesn't support shared sets, like Oak for example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira