WebDAV should use checkin/checkout mechanism instead of lock/unlock
Description
is caused by
relates
Activity

Mark JinSeptember 18, 2012 at 10:32 PMEdited
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.
Details
Assignee
Mark JinMark Jin(Deactivated)Reporter
Alexander ChowAlexander ChowLabels
Branch Version/s
6.1.xBackported to Branch
CommittedFix Priority
3Caused by
Feature/improvement was not completeWhere was the bug?
JavaGit Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Fix Priority
Caused by
Where was the bug?
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

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.