Skip to content

[Bug]: links to files from "shared with you" do not redirect correctly #45166

Closed

Description

@grnd-alt

⚠️ This issue respects the following points: ⚠️

Bug description

In the files Sections "shared with you" and "shared with others" the links to files are not handled correctly. Redirects of files do not open the files or the sidebar, and are not scrolled into view. For directories the parent directory is opened instead of the actual dir. The folder is also not scrolled into view.
When opening a folder the following error is thrown in browser console:
Bildschirmfoto vom 2024-05-02 10-38-05

Steps to reproduce

  1. Have multiple files in personal view
  2. Share at least one file/folder with someone else
  3. Go to "Shared with others"
  4. Click on one of the listed files/folders

Expected behavior

Files should be opened and scrolled into view in the list. Folders should be opened itself instead of the parent directory.

Version information

tested on: 27.1.9 working as expected
tested on: 28.0.3 not working as expected
tested on: c.nc.c 29.0.0.19 not working as expected
tested on: 30.0.0-dev not working as expected

Activity

  1. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on May 3, 2024
  2. susnux commented on May 3, 2024

    @susnux
  3. blizzz commented on May 30, 2024

    @blizzz
    Member

    What version of Nextcloud are you running?

    He noted down versions in the last Version information section.

  4. susnux commented on May 30, 2024

    @susnux
    Contributor

    The error message about the error in the console is unrelated and should be fixed in the current branches.

    But I can reproduce the error!

  5. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on May 30, 2024
  6. susnux commented on May 30, 2024

    @susnux
    Contributor

    Things todo:

    1. "open in files" action needs to set the openFile=true query
    2. If the viewer can handle the file then directly open it in the current view.
  7. self-assigned this
    on May 31, 2024
  8. added and removed
    1. to developAccepted and waiting to be taken care of
    on May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions