Skip to content

Bug - choice_filter inside repeat can result in errors #3

@joeflack4

Description

@joeflack4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions