Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Load an existing document in Collabora Online
- Make a change and save
- Use "share" and go to "Versions"
- The most recently saved version will be listed as e.g. "You 4 seconds ago"
- Click that version
- Document loading failed
Expected behavior
The most recent version, which is presumably not "versioned" but is just the normal document, should be presented
Screenshots

Nextcloud log (richdocuments), 09:01:36 UTC:
getFile failed: /246facfc-.../files_versions/whatever.ods.v1784796246
Exception: OCP\Files\NotFoundException
userAgent: COOLWSD HTTP Agent 26.04.2.2snapshot
Stack: WopiController::getFile -> IVersionManager::getVersionFile ->
LegacyVersionsBackend::getVersionFile -> Folder::get (throws
NotFoundException).
Collabora coolwsd log, same moment (16 identical retries, 09:01:36 to
09:02:00 UTC):
WOPI::GetFile [https://.../richdocuments/wopi/files/2829613_ocytfm4ehh09_whatever/contents?access_token=&access_token_ttl=0&permission=readonly] failed with Status Code: 403 (Forbidden)
Server details
Nextcloud version:
Nextcloud 33.0.6.2
Version of the richdocuments app
richdocuments 12.0.0
Version of Collabora Online
Collabora Online / COOLWSD 26.04.2.2snapshot
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The most recent version, which is presumably not "versioned" but is just the normal document, should be presented
Screenshots

Nextcloud log (richdocuments), 09:01:36 UTC:
Stack:
WopiController::getFile->IVersionManager::getVersionFile->LegacyVersionsBackend::getVersionFile->Folder::get(throwsNotFoundException).
Collabora coolwsd log, same moment (16 identical retries, 09:01:36 to
09:02:00 UTC):
Server details
Nextcloud version:
Nextcloud 33.0.6.2
Version of the richdocuments app
richdocuments 12.0.0
Version of Collabora Online
Collabora Online / COOLWSD 26.04.2.2snapshot