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 #244

Closed
joeflack4 opened this issue Dec 2, 2018 · 3 comments
Closed

Bug - choice_filter inside repeat can result in errors #244

joeflack4 opened this issue Dec 2, 2018 · 3 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

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
@ukanga
Copy link
Contributor

ukanga commented Dec 3, 2018

This seems like it is going to be addressed by #187. Does that PR address your use case?

@lognaturel
Copy link
Contributor

@joeflack4 Can you please confirm that this is fixed in the latest releases of the form converters?

@ukanga
Copy link
Contributor

ukanga commented Jul 2, 2019

@joeflack4 Please reopen if this is still an issue.

@ukanga ukanga closed this as completed Jul 2, 2019
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

3 participants