SolidOS / solidos

The operating system for Solid
https://solidos.solidcommunity.net/
MIT License
127 stars 19 forks source link

Personal email not removed on deletion #156

Open AlexHenderson opened 2 years ago

AlexHenderson commented 2 years ago

Hello,

I created an additional (personal) email, then decided to delete it. It no longer appears in my profile, but anonymous users can see it in the XML view.

Alex

jeff-zucker commented 2 years ago

@AlexHenderson : a) what server? b) how did you delete it?

AlexHenderson commented 2 years ago

Hi @jeff-zucker, thanks for getting back to me so quickly (and on a holiday weekend!) I created an account on solidcommunity.net (https://alexhenderson.solidcommunity.net/profile/card#me). In the profile webpage I added an additional email address. Then, still using the web interface, I deleted it. If you look at my profile - https://alexhenderson.solidcommunity.net/profile/card#me - and select the RDF-XML view, there are two email addresses as blank nodes, but only one vcard:hasEmail entry.

jeff-zucker commented 2 years ago

It looks to me like what happened is that you deleted the triple asserting you have an email but not the blanknode triple asserting the email address' value. I just tried and got the same behavior. So it's a bug in the profile form. Thanks for reporting, we'll add it to the task list.

timbl commented 2 years ago

Yes there is I suspect a general problem in the form system of not not cleaning up the twigs when you cut off a branch.