You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "balamir kodak (Jira)" <ji...@apache.org> on 2023/06/08 08:49:00 UTC

[jira] [Created] (OAK-10279) oak-webapp project webdav

balamir kodak created OAK-10279:
-----------------------------------

             Summary: oak-webapp project webdav
                 Key: OAK-10279
                 URL: https://issues.apache.org/jira/browse/OAK-10279
             Project: Jackrabbit Oak
          Issue Type: Wish
          Components: webapp
    Affects Versions: 1.50.0
         Environment: Windows 10 Pro
            Reporter: balamir kodak


I tested webdav feature in oak-webapp project through LibreOffice Writer 7.5.2.2 on Windows 10 environment . I could open document but when i trried to save i get a "412 Precondition Failed" response. As a result, the document was both locked and not updated.

When i checked the req-response headers i saw that  Libre Office send opequetoken as uppaercase in if request header.

When I convert ".equals" calls to ".equalsIgnoreCase" in the following methods ; 

org.apache.jackrabbit.webdav.header.IfHeader.match(String value)

org.apache.jackrabbit.webdav.jcr.lock.JcrActiveLock.isLockedByToken(String lockToken)

org.apache.jackrabbit.webdav.simple.DavResourceImpl.isLocked(DavResource res)

The document was successfully updated and I didn't have any lock problems.

Is it a bug or enhancement, How should I proceed here. Should i persist my changes on code,  or do someething else ? 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)