You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Elangodi Kalaimani (JIRA)" <ji...@apache.org> on 2006/07/19 13:32:14 UTC

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

unable to do checkin/checkout operations from Dreamweaver 8.
------------------------------------------------------------

                 Key: JCR-484
                 URL: http://issues.apache.org/jira/browse/JCR-484
             Project: Jackrabbit
          Issue Type: Improvement
          Components: locks
    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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg updated JCR-484:
----------------------------------

    Component/s:     (was: locks)
                 jackrabbit-webdav

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


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

Posted by "angela (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-484.
------------------------

    Resolution: Incomplete

resolving issue as incomplete.

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


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

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570137#action_12570137 ] 

Julian Reschke commented on JCR-484:
------------------------------------

IIRC, Adobe clients do not use DeltaV, so this is really a locking issue.

There are several known restrictions of JCR locks (lock token can not be discovered, DAV:lockowner not persisted, timeouts...), and I'm pretty sure one of these is causing the failure.

But as Angela said; an HTTP trace will tell us more.
 

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