Skip to content

504 error when adding collaborators to album (& character in the user's display name causing problems) #2065

Open
@mhzawadi

Description

@mhzawadi

Describe the bug
Sharing an album with a user throws an error

To Reproduce
Steps to reproduce the behavior:

  • make new album
  • add some photos
  • share with a user
  • get an error

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2023-09-23 at 21 47 47

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Opera
  • Version 102.0.4880.56

Browser log

ConsoleLogger.js:59 [ERROR] photos: Failed to update properties of testing with {"collaborators":[{"id":"geoff","label":"Geoff & Claire","type":0}]}. {app: 'photos', uid: 'matt', level: 0, error: Error: Invalid response: 400
    at i (https://horwood.cloud/apps/photos/js/photos-main.js?v=b6127�~@�}
value @ ConsoleLogger.js:59
value @ ConsoleLogger.js:85
updateAlbum @ albums.js:327
await in updateAlbum (async)
(anonymous) @ vuex.esm.js:851
p.dispatch @ vuex.esm.js:516
dispatch @ vuex.esm.js:406
C.forEach.n.<computed> @ vuex.esm.js:1064
handleSetCollaborators @ AlbumContent.vue:423
click @ AlbumContent.vue:1
Mt @ vue.runtime.esm.js:3017
n @ vue.runtime.esm.js:1815
click @ index.module.js:2
Mt @ vue.runtime.esm.js:3017
n @ vue.runtime.esm.js:1815
i._wrapper @ vue.runtime.esm.js:7473

Additional context
This only happens with a single user on my system, they dont seem any different to all the other users I have. This even happens with a new album with nothing in it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't workingfeature: albumsRelated to the albums section

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions