SolidOS/profile-pane

Error when adding friend?

Opened this issue · 2 comments

Hello. I'm trying Solid on solidcommunity.net. I got this error when trying to add another person as a friend, through the UI button on their profile:

Error: Exception in update: Error: Update: Can't make changes in uneditable <https://MY-ID.solidcommunity.net/profile/card> Error: Update: Can't make changes in uneditable <https://MY-ID.solidcommunity.net/profile/card> https://OTHER-PERSON.solidcommunity.net/mashlib.js:146113:17 update https://OTHER-PERSON.solidcommunity.net/mashlib.js:146052:23 ./node_modules/rdflib/esm/update-manager.js/update/< https://OTHER-PERSON.solidcommunity.net/mashlib.js:146050:16 update https://OTHER-PERSON.solidcommunity.net/mashlib.js:33239:50 ../solid-panes/node_modules/profile-pane/lib/addMeToYourFriends.js/saveNewFriend/</< https://OTHER-PERSON.solidcommunity.net/mashlib.js:33146:23 step https://OTHER-PERSON.solidcommunity.net/mashlib.js:33127:53 ../solid-panes/node_modules/profile-pane/lib/addMeToYourFriends.js/__generator</verb/< https://OTHER-PERSON.solidcommunity.net/mashlib.js:33118:58 fulfilled undefined 

where MY-ID represents my ID/username; OTHER-PERSON represents the ID of the person I wanted to add as a friend.

It succeeds if I try to add myself as a friend (weird?).

Did anyone else experience this? Did I do something wrong, or is this a bug somehow?

(Also posted on the solid server repo discussion, and got manually redirected here.)

Thanks for reporting I can confirm the problem

errorMessageBlock: Error: Error: Exception in update: Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
  undefined
    Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>  undefined
        at e.value (https://sstratsianis.solidcommunity.net/mashlib.min.js:1:28272)  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:1:27313  undefined
        at new Promise (<anonymous>)  undefined
        at e.value (https://sstratsianis.solidcommunity.net/mashlib.min.js:1:27284)  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:367307  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365525  undefined
        at Object.next (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365630)  undefined
        at o (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:364344) at: Error: Error: Exception in update: Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
  undefined
    Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>  undefined
        at e.value (https://sstratsianis.solidcommunity.net/mashlib.min.js:1:28272)  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:1:27313  undefined
        at new Promise (<anonymous>)  undefined
        at e.value (https://sstratsianis.solidcommunity.net/mashlib.min.js:1:27284)  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:367307  undefined
        at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365525  undefined
        at Object.next (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365630)  undefined
        at o (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:364344)
    at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:367454
    at https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365525
    at Object.throw (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:365630)
    at s (https://sstratsianis.solidcommunity.net/mashlib.min.js:140:364395) Error: Error: Exception in update: Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>
  undefined
    Error: Update: Can't make changes in uneditable <https://bourgeoa.solidcommunity.net/profile/card>  undefined
        at e.value (update-manager.js:875:17)  undefined
        at /mashlib.min.js:1:27313  undefined
        at new Promise (<anonymous>)  undefined
        at e.value (update-manager.js:812:16)  undefined
        at /mashlib.min.js:140:367307  undefined
        at /mashlib.min.js:140:365525  undefined
        at Object.next (addMeToYourFriends.js:29:53)  undefined
        at o (addMeToYourFriends.js:20:58)
    at addMeToYourFriends.js:150:27
    at addMeToYourFriends.js:48:23
    at Object.throw (addMeToYourFriends.js:29:53)
    at s (addMeToYourFriends.js:21:64)

I can confirm the same issue running on latest node-solid-server :-/