Skip to content
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

InconsistentTriplestoreDataException on get resource ?version=TIMESTAMP #1500

Closed
gfoo opened this issue Oct 31, 2019 · 1 comment · Fixed by #1503
Closed

InconsistentTriplestoreDataException on get resource ?version=TIMESTAMP #1500

gfoo opened this issue Oct 31, 2019 · 1 comment · Fixed by #1503
Assignees
Labels
API/V2 bug something isn't working

Comments

@gfoo
Copy link

gfoo commented Oct 31, 2019

I get the following error:

{"knora-api:error":"org.knora.webapi.InconsistentTriplestoreDataException: Subject http://rdfh.ch/0001/uMkv9Q1rQUyW0XtE0kdvAA/values/7YHUfGGhQBeY7jaOCiKZFQ does not have predicate http://www.knora.org/ontology/knora-base#deleteComment","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}

when I try to get a specific version of a resource which has a deleted property without a delete comment.

  1. create a resource with a property value
  2. delete property value
  3. get the resource with version=resource creation date

Script to reproduce: timestamp-error.zip

(of course if I add a deleteComment when I delete the property, I don't have this error)

@gfoo gfoo added API/V2 bug something isn't working labels Oct 31, 2019
@benjamingeer benjamingeer self-assigned this Oct 31, 2019
@benjamingeer
Copy link

Thanks, that’s a bug, will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API/V2 bug something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants