owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
443 stars 157 forks source link

Search in folder adds "ghost" spaces to the page #6995

Closed micbar closed 2 years ago

micbar commented 2 years ago

Steps to reproduce

  1. Create A Folder in "personal" with a lot of files with similar names
  2. Search for a string which is present in most of the files
  3. Go to the "Spaces" View

Expected behaviour

See the existing spaces only

Actual behaviour

I see all search results from 2 rendered as "spaces" 1652798743154

Environment general

pascalwengerter commented 2 years ago

I guess that has to do with activeFiles in https://github.com/owncloud/web/blob/31e62e18237871344e5a1b0755114100cb9a5458/packages/web-app-files/src/views/spaces/Projects.vue#L154 which are present in the store before loadResourcesTask loads the spaces themselves (curious why those don't get replaced though)