nextcloud / nextcloud/richdocuments

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

Open
#5,794 9 comments 0 reactions 1 assignee View on GitHub

@elzody is already working on this.

Since Jun 23, 2026.

enhancement
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.