Skip to content

Send reliable timestamp for when "Document changed in storage" conflicts happen #5794

Description

@pedropintosilva

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions