nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.64k stars 438 forks source link

[Bug]: file or chat details panel doesn't always show its projects #6909

Closed r-hmn closed 1 year ago

r-hmn commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

When opening the details panel of file or chat and check the 'sharing' info. Then the first item you select details for, will show its connected projects. The other items you select will not fetch and update that info. The list stays blank. Visiting the first item you selected does again show its connected projects

i have to press F5(refresh browser screen) to see the Project appear, for an item where it doesn't show.

This happens at least for files (in the sharing tab) and chat (in the details tab). haven't tried it for other types.

Steps to reproduce

  1. Open webbrowser, login
  2. Select 'talk' from toolbar
  3. Select a chat which is not added to a project
  4. Click the right-top button (horizontal bars with a person on top)
  5. Click 'details' to see the 'add to project' row.
  6. Select a chat which is added to a project.
  7. the project it's a part of does not appear in the list.

Similar happens for 'Files' in the 'sharing' details pane.

Expected behavior

  1. Open webbrowser, login
  2. Select 'talk' from toolbar
  3. Select a chat which is not added to a project
  4. Click the right-top button (horizontal bars with a person on top)
  5. Click 'details' to see the 'add to project' row.
  6. Select a chat which is added to a project.
  7. the project it's a part of does appear in the list.

Similar happens for 'Files' in the 'sharing' details pane.

Installation method

Other

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

i checked nextcloud-aio-mastercontainer and nextcloud-aio-nextcloud, 
but couldn't find "occ" when opening a shell in the container.

List of activated Apps

i checked nextcloud-aio-mastercontainer and nextcloud-aio-nextcloud, 
but couldn't find "occ" when opening a shell in the container.

Nextcloud Signing status

"No errors have been found"

Nextcloud Logs

i have no access to the docker volumes.
i'm not sure how/where to find these log files

Via the administration settings page, i don't see logging of around the time when this issue happens.

Additional info

Running on a Macbook Pro 2012 Operating System: Linux 5.13.0-28-generic x86_64 (Lubuntu 20.04) CPU: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (2 cores) Memory: 7.51 GB PHP: 8.0.15 PostgreSQL 13.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit, 24.6 MB

Running https://hub.docker.com/r/nextcloud/all-in-one Downloaded 13-feb-2022, (menu 'user'->'about' says nextcloud 23.0.1)

i tried to login to https://demo1.nextcloud.com/
to see if this issue happens in your online demo as well, but the login didn't work for me. it shows a login panel with random name, and no password. but clicking login doesn't work. so couldn't verify it on your online server.

nickvergessen commented 2 years ago

i checked nextcloud-aio-mastercontainer and nextcloud-aio-nextcloud, but couldn't find "occ" when opening a shell in the container.

Just for the record: https://github.com/nextcloud/all-in-one#how-to-run-occ-commands

nickvergessen commented 2 years ago

Seems to be a bug with the vue-collections library: https://github.com/juliushaertl/nextcloud-vue-collections/blob/master/src/components/CollectionList.vue#L166-L171 It only loads on mount, not on change of the data

nickvergessen commented 2 years ago

https://github.com/nextcloud/nextcloud-vue-collections/issues/814 is in, just needs a new version now I guess

nickvergessen commented 1 year ago

Closing as par above