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

expand select_*_from_file #314

Merged
merged 1 commit into from
Jan 4, 2024
Merged

expand select_*_from_file #314

merged 1 commit into from
Jan 4, 2024

Conversation

dorey
Copy link
Contributor

@dorey dorey commented Mar 30, 2023

select_multiple_from_file to reference
a file, rather than a remote list ID

select_multiple_from_file to reference
a file, rather than a remote list ID
@dorey dorey changed the title expand select_one_from_file and expand select_one_from_file Mar 30, 2023
@dorey dorey changed the title expand select_one_from_file expand select_*_from_file Mar 30, 2023
@dorey dorey assigned jnm Apr 6, 2023
@jnm jnm merged commit f3eb041 into main Jan 4, 2024
@jnm jnm deleted the expand-select-x-from-file branch January 4, 2024 20:08
jnm added a commit that referenced this pull request Jan 25, 2024
…to `select_one_from_file file.csv` instead of having
`select_one_from_file` in the `type` column and `file.csv` in a
nonstandard `file` column.

Fixes a problem introduced in #314
jnm added a commit that referenced this pull request Jan 25, 2024
…to `select_one_from_file file.csv` instead of having
`select_one_from_file` in the `type` column and `file.csv` in a
nonstandard `file` column.

Fixes a problem introduced in #314
jnm added a commit that referenced this pull request Jan 31, 2024
…to `select_one_from_file file.csv` instead of having
`select_one_from_file` in the `type` column and `file.csv` in a
nonstandard `file` column.

Fixes a problem introduced in #314
jnm added a commit that referenced this pull request Feb 5, 2024
…to `select_multiple_from_file file.csv` instead of having
`select_multiple_from_file` in the `type` column and `file.csv` in a
nonstandard `file` column.

Fixes a problem introduced in #314, mistakenly left unaddressed in #318
jnm added a commit that referenced this pull request Jun 15, 2024
`Mismatched labels and translations` error when attempting to load a
schema that contains multiple languages as well as a
`select_one_from_file` or `select_multiple_from_file` that has been
expanded to have a `file` column as performed by #314
jnm added a commit to kobotoolbox/kpi that referenced this pull request Jun 18, 2024
`file` columns in `select_one_from_file` and `select_multiple_from_file`
rows. This was causing a `KeyError` when the asset content predated #4403
and kobotoolbox/formpack#314.

Flattening of `{"type": "select_one_from_file", "file": "choices.csv"}`
(and equivalent `select_multiple_from_file` structures) to the
XLSForm-standard `{"type": "select_one_from_file choices.csv"}` is
handled by kobotoolbox/formpack#318 and kobotoolbox/formpack#319.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants