Closed alexskr closed 12 months ago
I am unable to reproduce this error.
Hi, My following remark is maybe not directly related to the issue
In this line
paging = LinkedData::Models::Class.in(submission).include(:prefLabel, :synonym, metrics: :classes).page(page_num, page_size)
We include the embedded metrics
attribute for the model Class
, although it doesn't have it. It's the ÒntologySubmission
that provides it. This means that the previous request need to be like this
paging = LinkedData::Models::Class.in(submission).include(:prefLabel, :synonym, submission: [metrics: [:classes]]).page(page_num, page_size)
Hi, My following remark is maybe not directly related to the issue
In this line
paging = LinkedData::Models::Class.in(submission).include(:prefLabel, :synonym, metrics: :classes).page(page_num, page_size)
We include the embedded
metrics
attribute for the modelClass
, although it doesn't have it. It's theÒntologySubmission
that provides it. This means that the previous request need to be like thispaging = LinkedData::Models::Class.in(submission).include(:prefLabel, :synonym, submission: [metrics: [:classes]]).page(page_num, page_size)
Good catch, I'll fix this in the code.
getting
Error during ontologies report paging - ArgumentError: Not supported case for embed
when processing with AllegroGraph backend for the following ontologies:CIDIT_V1 CLO ORDO_OBO UPHENO BIOMODELS MHCRO CCS_DIFF_CON_ANC CHEAR LION ZP XREF-FUNDER-REG CCONT RH-MESH WB-BT GO HOIP OGG CIDIO_AUX I2B2-LOINC
tracestack: