You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
To create a document structure that has more than two levels of document references (Doc -> subDoc -> subDoc... etc) the odd-numbered levels are required to have a base-class. Otherwise the error ascribed_type_not_subsumed is returned when submitting new documents.
The issue appears to occur every other sub-document level. Effectively the even leveled sub-documents. So, levels 3 (SubDoc2), 5 (SubDoc4), etc require a base-class.
Part of this bug is that the error is not well documented and that the meaning of 'subsumed' is not clear in this context.
Describe the bug
To create a document structure that has more than two levels of document references (Doc -> subDoc -> subDoc... etc) the odd-numbered levels are required to have a base-class. Otherwise the error
ascribed_type_not_subsumed
is returned when submitting new documents.The issue appears to occur every other sub-document level. Effectively the even leveled sub-documents. So, levels 3 (SubDoc2), 5 (SubDoc4), etc require a base-class.
Part of this bug is that the error is not well documented and that the meaning of 'subsumed' is not clear in this context.
To Reproduce
Using the schema:
To represent a multi-level document:
and creating the document with a rest POST call (from powershell):
Results in the error:
The error can be avoided by adding a base-class to SubDoc2 and referencing that from SubDoc1.
Expected behavior
The extra base class should not be required.
Screenshots
Info (please complete the following information):
terminusdb serve
The text was updated successfully, but these errors were encountered: