SolidLabResearch / solid-todo-app-react

Solid ToDo application implemented using React
https://solidlabresearch.github.io/solid-todo-app-react/
0 stars 0 forks source link

Issue: "You are logged in as: Error: No value found for property." #23

Closed j-steinbach closed 1 year ago

j-steinbach commented 2 years ago

image

Logged in with my KNoWS webid, not sure if it is supported: https://data.knows.idlab.ugent.be/person/jsteinbach/#me

surilindur commented 2 years ago

It seems to be an issue with the predicates used for the Text element from Inrupt libraries, that do not include foaf:givenName for example: https://github.com/VidyashreeTarikereUgent/solid-todo/blob/main/src/components/Login.tsx#L127

With the query it might work: https://github.com/VidyashreeTarikereUgent/solid-todo/blob/main/src/logic/query.ts#L94

rubensworks commented 2 years ago

@j-steinbach Does this problem still occur in the latest version?

j-steinbach commented 2 years ago

Yup.

image

Uncaught (in promise) TypeError: bindings[0] is undefined :: Login Login.tsx:37

Uncaught (in promise) Error: urn:comunica:default:rdf-resolve-quad-pattern/mediators#main mediated over all rejecting actors: urn:comunica:default:rdf-resolve-quad-pattern/actors#rdfjs-source requires a single source with an rdfjsSource to be present in the context. Actor urn:comunica:default:rdf-resolve-quad-pattern/actors#hypermedia can only resolve quad pattern queries against a single source. Actor urn:comunica:default:rdf-resolve-quad-pattern/actors#federated can only resolve quad pattern queries against a sources array. mediateWith MediatorRace.js:22

rubensworks commented 2 years ago

Ah, that's because of this then: https://github.com/SolidLabResearch/solid-todo/pull/28/files#diff-3061e501089702d5d89d85aa8ded9ce463fda33697bbf4183d1479b132fc04d0R47