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
ModelReferenceKeyNotFound: Model reference key 'surname@lt' not found in
"<spinta.components.Model(name='datasets/gov/rc/jangis_ws/n437_israsas/NaturalPerson')>".
Context:
component: spinta.types.datatype.ExternalRef
manifest: default
schema: Sheet1:18
dataset: datasets/gov/rc/jangis_ws/n437_israsas
resource: resource1
model: <spinta.components.Model(name='datasets/gov/rc/jangis_ws/n437_israsas/NaturalPerson')>
entity: None
property: natural_person
attribute: None
type: _external_ref
resource.backend: datasets/gov/rc/jangis_ws/n437_israsas/resource1
ref: surname@lt
This doesn't happen in a similar situation, but where property doesn't have @
This is specifically in the situation where the property with the language tag exists on another model, and we are referring to that model and list the properties in the square brackets. If we are using the property name without the language tag, it works.
For example, if model ModelName has property code.lt and we refer to it as ModelName[code], it works, but if we refer to it as ModelName[code@lt], it doesn't work (question is, should it work?).
The text was updated successfully, but these errors were encountered:
karina-klinkeviciute
changed the title
property, suffixed with @ls isn't found even if it exists
property, suffixed with @lt isn't found even if it exists
Dec 1, 2024
ModelReferenceKeyNotFound: Model reference key 'surname@lt' not found in
"<spinta.components.Model(name='datasets/gov/rc/jangis_ws/n437_israsas/NaturalPerson')>".
Context:
component: spinta.types.datatype.ExternalRef
manifest: default
schema: Sheet1:18
dataset: datasets/gov/rc/jangis_ws/n437_israsas
resource: resource1
model: <spinta.components.Model(name='datasets/gov/rc/jangis_ws/n437_israsas/NaturalPerson')>
entity: None
property: natural_person
attribute: None
type: _external_ref
resource.backend: datasets/gov/rc/jangis_ws/n437_israsas/resource1
ref: surname@lt
This doesn't happen in a similar situation, but where property doesn't have @
This is specifically in the situation where the property with the language tag exists on another model, and we are referring to that model and list the properties in the square brackets. If we are using the property name without the language tag, it works.
For example, if model ModelName has property
code.lt
and we refer to it asModelName[code]
, it works, but if we refer to it asModelName[code@lt]
, it doesn't work (question is, should it work?).JANGIS 437
Related
The text was updated successfully, but these errors were encountered: