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

Bug - choice_filter inside repeat can result in errors #3

Open
joeflack4 opened this issue Dec 2, 2018 · 0 comments
Open

Bug - choice_filter inside repeat can result in errors #3

joeflack4 opened this issue Dec 2, 2018 · 0 comments

Comments

@joeflack4
Copy link

Description

If using choice_filter inside a repeat and referring to a node within a / that repeat, the following type of error message can appear.

screenshot_20181201-210910

Additional information

This issue has also been filed in PyXform: XLSForm/pyxform#244

The workaround for this currently is to find the choice_filter usage inside the XML and make a replacement. For example, if converting attachment 1 into XML, you would then make the following replacement.

Find:
filter_list= /KAP/caregiverKAP/region_born

Replace:
Older versions / forks of ODK Collect (i.e. JHU Collect)
filter_list= current()/region_born
Current version of ODK Collect
filter_list= current()/../region_born


Attachments

  1. Demo_excerpt_from_KAP_XLSForm-v4-jef.xlsx
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

No branches or pull requests

1 participant