Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-349

Editing a locked file through the Sync folder causes repeating exceptions

    Details

    • 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

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 12 weeks, 6 days ago

                Packages

                Version Package
                1.0.3 RC4