Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25777

Office Online cannot unlock the document if the last user is not the one that locked the document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: WOPI
    • Epic Link:
    • Tags:
    • Sprint:
      nxfit 10.3.6
    • Story Points:
      3

      Description

      How to reproduce:

      • user1 edit a document through Word; that locks the document on Nuxeo
      • user2 comes and edit also the document through Word
      • user1 leaves Word; Word still keeps the lock because user2 is still editing
      • user2 leaves Word; Word tries to unlock the document but cannot:
      2018-09-12 13:40:10,438 ERROR [WebEngineExceptionMapper] org.nuxeo.ecm.core.api.LockException: Document already locked by user1: f86d3ead-bab7-4e87-9032-37aff95690be
      org.nuxeo.ecm.core.api.LockException: Document already locked by user1: f86d3ead-bab7-4e87-9032-37aff95690be
      	at org.nuxeo.ecm.core.api.AbstractSession.removeLock(AbstractSession.java:2264)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.removeLock(DocumentModelImpl.java:613)
      	at org.nuxeo.wopi.jaxrs.FilesEndpoint.unlockOrRefresh(FilesEndpoint.java:304)
      	at org.nuxeo.wopi.jaxrs.FilesEndpoint.unlock(FilesEndpoint.java:529)
      	at org.nuxeo.wopi.jaxrs.FilesEndpoint.doPost(FilesEndpoint.java:199)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h