Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tolerate blank SelectOne or SelectMultiple option labels #139

Open
florianm opened this issue Jul 14, 2022 · 0 comments
Open

Tolerate blank SelectOne or SelectMultiple option labels #139

florianm opened this issue Jul 14, 2022 · 0 comments
Assignees
Labels
bug an unexpected problem or unintended behavior

Comments

@florianm
Copy link
Collaborator

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

"Error in xml_nodeset(NextMethod()): Expecting an external pointer: [type=NULL]"

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

@florianm florianm added the bug an unexpected problem or unintended behavior label Jul 14, 2022
@florianm florianm self-assigned this Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant