-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INSERT DATA Request appears to remove existing data in a resource #43
Comments
Thanks for reporting! |
Looks like something changed in CSS, as this used to work. |
I think this change is also causing this package to no longer work against ESS - in particular see: Error: urn:comunica:default:rdf-update-hypermedia/mediators#main mediated over all rejecting actors:
Actor urn:comunica:default:rdf-update-hypermedia/actors#patch-sparql-update could not detect a destination with 'application/sparql-update' as 'Accept-Patch' header.
Actor urn:comunica:default:rdf-update-hypermedia/actors#put-ldp could not detect a destination with 'Allow: PUT' header.
Actor urn:comunica:default:rdf-update-hypermedia/actors#sparql could not detect a SPARQL service description or URL ending on /sparql or /update.
at /home/jesse/Documents/github/podspaces-performance-testing/node_modules/@comunica/mediator-race/lib/MediatorRace.js:22:32
at processTicksAndRejections (node:internal/process/task_queues:96:5) |
Pinging @joachimvh here as well, perhaps he knows more about changes related to this. |
Just did a small check with the default config targeting a resource that does not exist and received a Nothing changed regarding SPARQL UPDATE (on purpose at least) for some time. |
That's interesting. Then the problem lies either in one of our metadata extractors, of the way in which metadata is propagated. Having some integration tests around this would also be good. |
As a further note this error is also occuring when trying to delete data on a Pod Put-based LDP destinations don't support deletions
44 |
45 | public async delete(quads: AsyncIterator<RDF.Quad>): Promise<void> {
> 46 | throw new Error(`Put-based LDP destinations don't support deletions`);
| ^
47 | }
48 |
49 | public async wrapRdfUpdateRequest(type: 'INSERT' | 'DELETE', quads: AsyncIterator<RDF.Quad>): Promise<void> |
Issue type:
Description:
If I run the following script against the CSS at
localhost:3000
then the result of the finalCONSTRUCT
query is just<ex:s> <ex:p> <ex:o2>
when I would expect 3 triples; namelyEnvironment:
Crash log:
The text was updated successfully, but these errors were encountered: