It seems that the LanguageProperty filter doesn't work with subproperties when querying entities.
With this for example: GET /ngsi-ld/v1/entities/?type=Template&lang=fr
Retrieving this:
{
"id": "urn:ngsi-ld:LorawanConfig:Template",
"type": "Template",
"appEUI": {
"type": "Property",
"value": "Placeholder",
"pattern": {
"type": "LanguageProperty",
"languageMap": {
"en": "Only uppercase letters and numbers allowed",
"fr": "Seules les lettres majuscules et les chiffres sont autorisés"
}
}
},
"pattern": {
"type": "Property",
"value": "Seules les lettres majuscules et les chiffres sont autorisés",
"lang": "fr"
}
}
No errors when creating an entity with a subproperty of type LanguageProperty.
It seems that the
LanguageProperty
filter doesn't work with subproperties when querying entities. With this for example: GET/ngsi-ld/v1/entities/?type=Template&lang=fr
Retrieving this:No errors when creating an entity with a subproperty of type
LanguageProperty
.