WebDAV should use checkin/checkout mechanism instead of lock/unlock

Description

In 6.1, the Documents and Media portlet introduce the concept of a checkout/cancel checkout/checkin mechanism. However, this was only supported in the portlet UI whereas other interface (e.g., WebDAV) continued to use the locking mechanism.

The WebDAV locking should be converted to use the checkout mechanism. If WebDAV locks and unlocks, it should always be assumed as a checkout-checkin. There is no concept of abandoning a PWC in WebDAV - all changes are assumed to have been applied, so we should enforce that. Moreover, the DLApp API should deprecate the lock/unlock methods as this should no longer be used.

Activity

Show:

Mark JinSeptember 18, 2012 at 10:32 PM
Edited

PASSED Manual Testing using the following steps:

1. Upload file to Document & Media portlet.
2. Mount WebDAV via WebDAV client.
3. Lock file from WebDAV client (BitKinex).
4. Go to Document & Media portlet and view file. Previous 6.1.x versions, file will be locked but not Checked Out.
5. Unlock file from WebDAV client.
6. Go to Document & Media portlet and view file. File should not be locked or checked out.

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.10 EE GA1.

The document doesn't checked out in the portlet.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GIT ID: a84795cc7d2e0b270e23fd0c2cbcba573799f664.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: a80d57becbd69e7cef902b67ef65e2c05cb6af04.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: b7e34ace4efcacb4ec5c9cdcd22f4a1955159fd6.

The document is checked out in the portlet.

Michael SaechangJuly 25, 2012 at 11:12 AM

Committed on:
Portal 6.1.x CE GIT ID: 1a221fdbb79a9cc87173c5aeb931c9a0f14f60e3.
Portal 6.2.x GIT ID: bbfc051c88e8be6986686f399dda056d0eaf473a.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

3

Caused by

Feature/improvement was not complete

Where was the bug?

Java

Git Pull Request

Components

Priority

Zendesk Support

Created July 3, 2012 at 4:30 AM
Updated June 24, 2023 at 3:56 PM
Resolved July 21, 2012 at 12:04 AM
Loading...