diff --git a/src/main/java/nl/ellipsis/webdav/server/methods/DoLock.java b/src/main/java/nl/ellipsis/webdav/server/methods/DoLock.java index 524c106..7465244 100644 --- a/src/main/java/nl/ellipsis/webdav/server/methods/DoLock.java +++ b/src/main/java/nl/ellipsis/webdav/server/methods/DoLock.java @@ -545,7 +545,7 @@ private void doMacLockRequestWorkaround(ITransaction transaction, HttpServletReq if (lockSuccess) { // Locks successfully placed - return information about - lo = _resourceLocks.getLockedObjectByPath(transaction, _path); + lo = _resourceLocks.getTempLockedObjectByPath(transaction, _path); if (lo != null) { generateXMLReport(transaction, resp, lo); } else {