-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: No Longer Reproducible
-
Affects Version/s: 1.0.0 B3
-
Fix Version/s: 1.0.3 RC4
-
Component/s: General
-
Labels:None
-
Environment:LIFERAY VERSION: 6.1
OPERATING SYSTEM: Windows 7
APPLICATION SERVER: Tomcat 7.0.25
JAVA VIRTUAL MACHINE: Java 6
DATABASE: MySQL 5.5
When trying to update another user's locked file, a DuplicateLock exception gets thrown non stop in the console. The intended behavior is for the exception to only be thrown once.
Steps to reproduce:
1. Create UserA and UserB
2. Add Document and Media portlet to a site page
3. Grant Site Members "Edit" permission
4. Log in as UserA
5. Add a document>Lock the document
6. Log into Sync using UserB's credentials
7. Access UserA's uploaded document in Sync folder
8. Open it up and edit it>Save
9. Immediately you will receive non stop DupplicateLock exceptions that will only go away if you disable Sync. Once you enable Sync again, the exceptions continue