Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photos that are shared by another user in a collaborative album display an error in the viewer #1440

Closed
k1l1 opened this issue Oct 29, 2022 · 3 comments · Fixed by #1602
Closed
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@k1l1
Copy link

k1l1 commented Oct 29, 2022

Describe the bug
Photos that are shared by another user in a collaborative album display an error in the viewer. (does not work both ways: User can only view their own respective photos in a collaborative album with the viewer)

To Reproduce
Steps to reproduce the behavior:

  1. Create and run a nextcloud 25 docker image
  2. Create a second user "Test" next to the user "admin"
  3. Create a Album with the admin account, and add two images (nextcloud's samples images)
  4. Share the Album with user Test
  5. Login with user Test and add a photo to the collaborative album (e.g., one of nextcloud's sample images)
  6. Login again with admin and view the added photo with the viewer

Expected behavior
The shared image should be viewable with nextcloud's viewer

Screenshots
Screenshot from 2022-10-29 12-15-09
Screenshot from 2022-10-29 12-16-39

Browser log

Error loading /photos/testuser/sharedalbums/Testalbum (admin)/11-Testalbum (admin) 
error { target: img.viewer__file--hidden.viewer__file, isTrusted: true, srcElement: img.viewer__file--hidden.viewer__file, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 718513, … }
Mime.js:111:10
@k1l1 k1l1 added bug Something isn't working 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Oct 29, 2022
@dinccey
Copy link

dinccey commented Oct 31, 2022

Same issue on a manually installed instance.

@pulsejet
Copy link
Member

pulsejet commented Nov 1, 2022

There's a fix at nextcloud/viewer#1431

@darguez
Copy link

darguez commented Nov 3, 2022

The same issue happens when sharing a public link of the album. What version is expected to fix the bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants