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)