mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Fix bug with opening after editing with the condition wopi SupportsLocks=false; Fix bug 68501
This commit is contained in:
@ -420,7 +420,7 @@ function checkAndInvalidateCache(ctx, docId, fileInfo) {
|
||||
ctx.logger.debug('wopiEditor unlockMarkStr=%s', unlockMarkStr);
|
||||
let hasUnlockMarker = isWopiUnlockMarker(unlockMarkStr);
|
||||
ctx.logger.debug('wopiEditor hasUnlockMarker=%s', hasUnlockMarker);
|
||||
if (hasUnlockMarker) {
|
||||
if (hasUnlockMarker || !commonInfo.fileInfo.SupportsLocks) {
|
||||
let fileInfoVersion = fileInfo.Version;
|
||||
let cacheVersion = commonInfo.fileInfo.Version;
|
||||
let fileInfoModified = fileInfo.LastModifiedTime;
|
||||
|
||||
Reference in New Issue
Block a user