If a form definition has multiple languages and a selectOne has missing human-readable labels in all languages for at least one selectOne option, the form is still valid in Central and Collect, but throws an error in ruODK::form_schema_ext, which assumes that all options have values.
TODO: verify whether this applies to SelectMultiple (assume yes) and single translation. Build and test example forms with missing values.
Error message
"Error in xml_nodeset(NextMethod()): Expecting an external pointer: [type=NULL]"
Problem
If a form definition has multiple languages and a selectOne has missing human-readable labels in all languages for at least one selectOne option, the form is still valid in Central and Collect, but throws an error in
ruODK::form_schema_ext
, which assumes that all options have values.TODO: verify whether this applies to SelectMultiple (assume yes) and single translation. Build and test example forms with missing values.
Error message
Forum post
https://forum.getodk.org/t/ruodk-error-for-form-schema-ext-expecting-an-external-pointer-type-null/38276
ruODK function(s) used
ruODK::form_schema_ext