Skip to content

Viewer will not open current version after showing old version #3052

@max-nextcloud

Description

@max-nextcloud

Describe the bug
When clicking the current version in the versions tab nothing happens.

Bildschirmaufzeichnung.vom.2026-01-19.09-33-47.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Go to a file with multiple versions.
  2. Open the versions tab.
  3. Open an old version.
  4. Try to open the current version.

Expected behavior

The current version is shown in the viewer.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Viewer open is called with only a path. I suspect that's why it does not change the file info which would include the version.

Additional context

This is on current main branch of server, viewer and text.
Observed in a playwright test in text: https://github.com/nextcloud/text/actions/runs/21130755060/job/60761050636?pr=8170

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't workingregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions