Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Versions link opens web office #9868

Closed

Description

@michaelstingl

Describe the bug

"Show file versions in web browser" opens online office, not the file list with the versions open in the sidebar.

Steps to reproduce

Steps to reproduce the behavior:

  1. setup desktop client with einstein:[email protected]
  2. click "Show file versions in web browser" action for New file.odt in desktop file explorer

CleanShot 2023-10-25 at 18 46 33

Expected behavior

File list with the versions should open in the sidebar.

CleanShot 2023-10-25 at 18 51 09

Actual behavior

Web office opens

CleanShot 2023-10-25 at 18 51 54

Setup

[Log]  ownCloud Web UI 8.0.0-alpha.4  (index.html-3c2aed60.mjs, line 1)
[Log]  Infinite Scale 4.0.0+337dca17e Community  (index.html-3c2aed60.mjs, line 1)

Additional context

@TheOneRing does the desktop client compose the versions URL ? Would it be more robust if the desktop client would request the full URL from the backend?

Activity

  1. added
    Type:Bug
    on Oct 25, 2023
  2. michaelstingl commented on Oct 25, 2023

    @michaelstingl
    ContributorAuthor
  3. transferred this issue fromowncloud/ocison Oct 26, 2023
  4. moved this from Qualification to Bugs Prio 3 or less in Web Support Boardon Oct 26, 2023
  5. kulmann commented on Oct 26, 2023

    @kulmann
    Contributor

    This is a regression from when we implemented auto-forwarding into editor applications.

  6. JammingBen commented on Oct 26, 2023

    @JammingBen
    Contributor

    Am I assuming correctly that the version URL is e.g. https://host.docker.internal:9201/f/e71d3e4f-3caa-4bc4-8e90-27ea80a45bd3%243966ad4f-ad72-41b2-a23e-b8ff73144d8e%218e0c2070-e9a6-4146-aa15-2d51404f084d?details=versions? Which means we should disable the auto-forwarding in case the details param is present in the URL.

  7. moved this from Qualification to Prio 3 or less in Infinite Scale Team Boardon Oct 27, 2023
  8. kulmann commented on Oct 31, 2023

    @kulmann
    Contributor

    Am I assuming correctly that the version URL is e.g. https://host.docker.internal:9201/f/e71d3e4f-3caa-4bc4-8e90-27ea80a45bd3%243966ad4f-ad72-41b2-a23e-b8ff73144d8e%218e0c2070-e9a6-4146-aa15-2d51404f084d?details=versions? Which means we should disable the auto-forwarding in case the details param is present in the URL.

    yes, correct. that solution would work: no auto-forwarding if details url param is present.

  9. added
    Priority:p2-high
    and removed
    Priority:p3-medium
    on Oct 31, 2023
  10. moved this from Prio 3 or less to Prio 2 in Infinite Scale Team Boardon Oct 31, 2023
  11. kulmann commented on Oct 31, 2023

    @kulmann
    Contributor

    Elevated the priority to p2. We want this fixed in the stable-7.1 branch and release it for ocis stable-4.0. If it was broken in stable-7.0 already then worth fixing it there as well.

    To whoever fixes this, a unit test for the auto-forwarding being disabled if the details url param is present is appreciated. An e2e test as well but I will write a separate story for some url related e2e test scenarios.

  12. kulmann commented on Oct 31, 2023

    @kulmann
    Contributor

    Probably makes sense to merge #9821 first - but how do you feel about backporting that to stable-7.1 @JammingBen ? 🤔

  13. JammingBen commented on Oct 31, 2023

    @JammingBen
    Contributor

    Probably makes sense to merge #9821 first - but how do you feel about backporting that to stable-7.1 @JammingBen ? 🤔

    Yep we should do that, although I'd like to get it merged to master first and then cherry-pick it to stable-7.1.

    By the way, IMO this is the way we should handle our stable branches in the future. Until now, we merged all bug fixes to stable-7.1 and are now in that ugly situation where we don't want to release all of them in one hotfix.

    Elevated the priority to p2. We want this fixed in the stable-7.1 branch and release it for ocis stable-4.0. If it was broken in stable-7.0 already then worth fixing it there as well.

    Do you know the timeline for the ocis stable-4.0 release? Because this means there is quite a bit of work to do on our end 😅

  14. kulmann commented on Oct 31, 2023

    @kulmann
    Contributor

    By the way, IMO this is the way we should handle our stable branches in the future. Until now, we merged all bug fixes to stable-7.1 and are now in that ugly situation where we don't want to release all of them in one hotfix.

    Well, that's what the four eye principle (2 reviews required on stable branches) was intended for... having certainty that a patch release can happen at any time. In addition to that always possible to add new tests on the stable branch / in the PR with the code fix... but not a big deal, I'm also fine to have fixes on master and backport some of them to the respective stable branch. Downside: This reduces the chance of having frequent bugfixes in stable branches, because people will rarely do this.

    Do you know the timeline for the ocis stable-4.0 release? Because this means there is quite a bit of work to do on our end 😅

    No particular time line. Customers are happy about (reliable) patch releases though, so "as soon as possible but not prio 1".

  15. self-assigned this
    on Nov 16, 2023
  16. moved this from Prio 2 to In progress in Infinite Scale Team Boardon Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p2-highType:BugType:Regression

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions