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.

Broken links in search results from shares #7043

Closed

Description

@aduffeck

With the switch to the share jail the links to the parent directoy in search results from shares became broken.

Steps to reproduce

  1. Create a folder shared containing some file and share it with another user.
  2. As that other user search for the filename of the file in shared

Expected behaviour

The parent directory shows up as shared and clicking it takes me to https://localhost:9200/files/spaces/shares/from-einstein.

Actual behaviour

Search finds the file and previews work, but the link to the parent directory is wrongly named Persönlich and clickin it leads to e.g. https://localhost:9200/files/spaces/personal/home/.

Activity

  1. added
    Priority:p2-high
    Type:Bug
    on May 24, 2022
  2. self-assigned this
    on Jun 24, 2022
  3. JammingBen commented on Jun 29, 2022

    @JammingBen
    Contributor

    Currently on hold as it needs a way to fetch the parent share for files within a share. @fschade is currently building something for this if I'm not mistaken.

  4. AlexAndBear commented on Jul 28, 2022

    @AlexAndBear
    Contributor

    @aduffeck I have problems finding a file in a shared folder, REPORT doesn't give me any results

  5. SwikritiT commented on Sep 7, 2022

    @SwikritiT
    Contributor

    Also, if I click on the file name from the Shares page, it downloads the file, but if I click to personal and click on the file name, it opens the file.

    searching.mp4

    While in the case of folder clicking on the file name navigates to the personal space.

  6. AlexAndBear commented on Sep 7, 2022

    @AlexAndBear
    Contributor

    @SwikritiT it even goes deeper, if you hit the search all files button and enter a new term, click on a file, nothing will happen (besides console error).

  7. SwikritiT commented on Sep 8, 2022

    @SwikritiT
    Contributor

    @janackermann I've also created another issue related to searching in the public link don't know if these might be related #7603

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:Bug

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions