The query tool cannot handle a null label, because the label is used for several functional things like giving dropdown elements an id, sorting elements, displaying them, and so on.
A short time fix might be to just filter out all the options that have a null label. We probably still want to have a warning somewhere (not sure).
The real fix will be tricky. We cannot rely on nodes having good data, so we have to make the query tool able to deal with things like this.
We have a case where some attributes for e.g.
nb:Diagnosis
return instances without a label. In this case, thelabel
key seems to have anull
value.Here is an example:
The query tool cannot handle a
null
label, because thelabel
is used for several functional things like giving dropdown elements anid
, sorting elements, displaying them, and so on.A short time fix might be to just filter out all the options that have a
null
label. We probably still want to have a warning somewhere (not sure).The real fix will be tricky. We cannot rely on nodes having good data, so we have to make the query tool able to deal with things like this.