Misleading error in v8 when running update on query endpoint

Due to misconfiguration of my code, I accidentally executed a SPARQL Update on a query endpoint.

In v7, I would receive and appropriate error:

Cannot execute update query on read endpoint

In the latest version, the error is different and quite confusing:

com.complexible.stardog.plan.eval.ExecutionException: Process ID clash

Thanks. That's definitely a bad error message. Any chance you can provide a minimal example (like with curl or something)? I couldn't immediately reproduce using a GET request to /{db}/query.

Best,
Pavel

Sure. Had to dig up the details. The app does a form-encoded POST

curl --request POST \
  --url http://stardog/view-builder/query \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'update=PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX hydra: <http://www.w3.org/ns/hydra/core#>

DROP SILENT GRAPH <https://view-builder.lndo.site/view/example3>; INSERT DATA {
  GRAPH <https://view-builder.lndo.site/view/example3> { 

<https://view-builder.lndo.site/view/example3> rdf:type <https://cube.link/view/View> . }
}'

Thanks! Sorry, forgot to acknowledge that we have reproduced it. Will push a fix to the next release.

Best,
Pavel