Skip to content

Don't assume WebID is Solid resource #47

@langsamu

Description

@langsamu

contactUtils.addContactToProfile tries to save (PUT) a WebID profile document using an authenticated fetch with the Solid JS SDK:

// Save the updated dataset
await saveSolidDatasetAt(profileUrl, updatedDataset, { fetch });

On some Solid server this might work because in some cases WebID profile documents are Solid resources.
But on other Solid servers this fails, because in those cases WebID profile documents are not Solid resources.

There is nothing in the Solid suite of specs that guarantees WebID profile documents being Solid resources (though there is a long standing convention).

This functionality should be either removed or made more robust instead of resulting in an unhandled error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions