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

Properly flatten select_multiple_from_file #319

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

jnm
Copy link
Member

@jnm jnm commented 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

…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
@coveralls
Copy link

coveralls commented Feb 5, 2024

Coverage Status

coverage: 86.758%. remained the same
when pulling a806e0d on properly-flatten-select_multiple_from_file
into 569d8bf on main.

@jnm jnm requested a review from duvld February 5, 2024 20:51
@jnm jnm assigned duvld Feb 5, 2024
@duvld duvld merged commit 3b6c89a into main Feb 6, 2024
3 checks passed
@duvld duvld deleted the properly-flatten-select_multiple_from_file branch February 6, 2024 00:35
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

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.
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

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.
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.

3 participants