You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2008/02/19 09:04:43 UTC

[jira] Commented: (JCR-484) unable to do checkin/checkout operations from Dreamweaver 8.

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

angela commented on JCR-484:
----------------------------

Checkin/checkout should rather be achieved by using the deltaV functionality present since
 1.4 (i guess).

I don't know dreamweaver and therefore doesn't know if it would be deltaV enabled. nor i know if using Locking when 'checkout' is expected is a fallback behaviour or simply a confusion.

changing the Node.lock params to true/true is valid from the signature, but doesn't make sense.
what you achieve is session-scoped lock and this is not what you expect here.
the depth of the lock is defined by the client and not by the server.

the code is correct. what i'm wondering is: why do you get a LockException. 

please check the following:

- what is the expected result if dreamweaver makes a Lock request (see above)
- analyse the http conversation to find out, why you get a LockException later on (see whether
  the client for whatever reason does not send the lock-token with later request).

-> waiting for further information.




> unable to do checkin/checkout operations from Dreamweaver 8.
> ------------------------------------------------------------
>
>                 Key: JCR-484
>                 URL: https://issues.apache.org/jira/browse/JCR-484
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-webdav
>    Affects Versions: 1.0.1
>         Environment: Macromedia Dreamweaver version 8.Tomcat 5.5, jackrabbit 1.0.1 the platform is Windows.
>            Reporter: Elangodi Kalaimani
>
> When I tried to do checkin/checkout operations into the jcr, with Dreamweaver 8 as the WebDAV client, there was a lock Exception, Due to this I was unable to complete my operation.The lock exception occured in the DavResourceImpl class in the package org.apache.jackrabbit.webdav.simple. When I was debugging, I found that the method
>  Lock jcrLock = node.lock(lockInfo.isDeep(), false); threw the lock exception. and the method lockInfo.isDeep() in the class  org.apache.jackrabbit.webdav.lock.LockInfo, always returns false.When I passed the value (true,true) to the method
> node.lock(lockInfo.isDeep(), false), the checkin/checkout operations were successful.Is my change valid? Or Is there anyother way to accomplish the checkin/checkout operation, if not this?

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