owncloud / owncloud/ocis

Empty search list when sharee searches a folder that has been renamed by sharer

Open
#7,262 7 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
When sharee searches the folder after renamed by sharer then the search list of sharee is empty.

## Steps to reproduce

Steps to reproduce the behavior:

1. As `marie`, create a folder `folder1`
2. As `marie`, share a folder to `einstein`
3. As `einstein`, accept the share
4. As `marie`, rename folder `folder1` to `folder2`
5. for `einstein`, there is folder `folder1` in share-with-me page

![image](https://github.com/owncloud/ocis/assets/61624650/b2e6395f-37c6-4e0d-a328-8619ef65126e)
7. As `einstein`, search the folder `folder1` using web UI

## Expected behavior
The `folder1` should be contains in search list
![image](https://github.com/owncloud/ocis/assets/61624650/73bf0afb-0c15-450b-a755-9c1c19ebec42)

## Actual behavior
The search list does not contains `folder1`
![image](https://github.com/owncloud/ocis/assets/61624650/048fd67b-f80c-4eb1-976b-def43fdd1f90)

But
when `einstein` searches resources by name `folder2`
![image](https://github.com/owncloud/ocis/assets/61624650/fbce17d4-4be7-412e-9100-135b9fa308c8)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.