Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

malformed query exception #130

Closed
dlamoris opened this issue Nov 8, 2023 · 0 comments · Fixed by #154
Closed

malformed query exception #130

dlamoris opened this issue Nov 8, 2023 · 0 comments · Fixed by #154
Assignees

Comments

@dlamoris
Copy link
Contributor

dlamoris commented Nov 8, 2023

At the end of the model load a sparql update is issued to delete the interim lock and optional graph, this is causing a malformed query exception.

{"code":"MalformedQueryException","requestId":"fac5d689-17a1-f3fd-2164-a06907ae497a","detailedMessage":"Malformed query: Encountered " "optional" "optional "" at line 40, column 5.

The interim lock isn't actually pointing to anything, should just take out the optional graph and have the interim lock delete for now.
https://github.com/Open-MBEE/flexo-mms-layer1-service/blob/develop/src/main/kotlin/org/openmbee/flexo/mms/routes/gsp/ModelLoad.kt#L534

@dlamoris dlamoris added this to Flexo Nov 8, 2023
@github-project-automation github-project-automation bot moved this to New in Flexo Nov 8, 2023
@dlamoris dlamoris linked a pull request Sep 26, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in Flexo Oct 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants