owncloud / web

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

Web crashes after sharing project space with `Secure viewer` permission #10891

Closed amrita-shrestha closed 3 months ago

amrita-shrestha commented 4 months ago

Describe the bug

Share project space with Secure viewer role cause web crash. In ocis there is bug report regarding secure view https://github.com/owncloud/ocis/issues/9128

Steps to reproduce

  1. user Alice create project space new-space
  2. user Alice share project space new-space with user einstein with permission role Secure viewer
  3. reload web in browser than page stuck at loading

Expected behavior

Personal WebUI page should be visible

Actual behavior

Screenshot from 2024-05-10 15-27-52

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

```console ownCloud Infinite Scale Edition Community Version 5.1.0-prealpha+ceeb4ed71d Web client version 9.0.0-alpha.5 ```

Additional context

Add any other context about the problem here.

JammingBen commented 4 months ago

Has been fixed in Web via https://github.com/owncloud/web/pull/10925. Now waiting for the backend issue to be closed/fixed, I'm closing here meanwhile.

S-Panta commented 3 months ago

Building Ocis on latest commit, the web seems to crash when space is shared via Secure Viewer.

image

@JammingBen

saw-jan commented 3 months ago

~Maybe fixed by https://github.com/owncloud/web/pull/10973~

See: https://github.com/owncloud/web/issues/10891#issuecomment-2144948401

S-Panta commented 3 months ago

Maybe fixed by #10973

It's still showing on my latest build.

saw-jan commented 3 months ago

Couldn't reproduce. ~believed to be fixed by https://github.com/owncloud/web/pull/10973~ See: https://github.com/owncloud/web/issues/10891#issuecomment-2144948401

S-Panta commented 3 months ago

If the role is changed from Secure Viewer, then the crash UI will be uncrashed and back to Normal.

saw-jan commented 3 months ago

Has been fixed in Web via https://github.com/owncloud/web/pull/10925. Now waiting for the backend issue to be closed/fixed, I'm closing here meanwhile.

The above fix was sufficient. The reports were just due to setup mismatch between web and ocis