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

Error with JSON properties on documents. #2086

Open
chonymony opened this issue Jan 25, 2024 · 0 comments
Open

Error with JSON properties on documents. #2086

chonymony opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chonymony
Copy link

There's an issue whenever I try to update the value inside a a json property of an instance of a document:
Schema check failure Hide { "@type": "deleted_object_still_referenced", "object": "terminusdb:///json/JSON/SHA1/58119753791a5aa1d3777f0e461073256b774ace", "predicate": "http://terminusdb.com/schema/json#tiempo", "subject": "terminusdb:///json/JSON/SHA1/c8c411d2dcab0ca4fc7ec306941107705819229d" }

It seems some elements are not being properly deleted.
I have a work around that worked once running the following WOQL:

WOQL.triple("v:sustantive", "v:predicate", "terminusdb:///json/JSON/SHA1/58119753791a5aa1d3777f0e461073256b774ace") .delete_document("v:sustantive")

Then faced the issue again and try to use the same workaround but didn't work as I get the following error:
SERVER ERROR: There was an error when schema checking

for replication the schema structure is as follows:

{ "@documentation": { "@comment": "comments", "@properties": { "json": "json description", "nombre": "name" } }, "@id": "Habilidad", "@key": { "@fields": [ "nombre" ], "@type": "Lexical" }, "@metadata": { "order_by": [ "nombre", "json" ] }, "@type": "Class", "json": "sys:JSON", "nombre": "xsd:string" }

image

@chonymony chonymony added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant