Describe the bug
It seems - in some cases - users are seeing the "Document changed in storage" conflict dialog even though no one else touched the file. This could be due to how richdocuments produces/compares the timestamp as it seems a cached value is been passed.
LastModifiedTime is already sent but its value - in some cases - is unreliable due to stale cached mtime after putContent. Probably best to ask storage layer again for fresh metadata instead of trusting that cached value. This might not fix the issue but it will fix for that situation and make further chasing easier to do.
Related: https://gerrit.collaboraoffice.com/c/online/+/4918 from @mmeeks
Describe the bug
It seems - in some cases - users are seeing the "Document changed in storage" conflict dialog even though no one else touched the file. This could be due to how richdocuments produces/compares the timestamp as it seems a cached value is been passed.
LastModifiedTime is already sent but its value - in some cases - is unreliable due to stale cached
mtimeafter putContent. Probably best to ask storage layer again for fresh metadata instead of trusting that cached value. This might not fix the issue but it will fix for that situation and make further chasing easier to do.Related: https://gerrit.collaboraoffice.com/c/online/+/4918 from @mmeeks