Skip to content

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

@k1l1

Description

@k1l1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions