[bug] Fix bug with opening after editing with the condition wopi SupportsLocks=false; Fix bug 68501

This commit is contained in:
Sergey Konovalov
2024-06-13 13:28:25 +03:00
parent 1ffd755e72
commit a8421129e3

View File

@ -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;