getodk / getodk/validate

Check for select value and label prevents valid select from repeat patterns

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Some time between July 2023 and February 2025, [this form with a select from repeat](https://docs.google.com/spreadsheets/d/1K9I-nbdn1g_YYyiG_IuQW-YhtcODG9IPmQA2qRKsds8/edit?gid=0#gid=0) stopped passing Validate. When I convert it to XForm with `--skip_validate`, it works as expected in Collect. We have tests in JavaRosa for this form shape. Was there a change in pyxform? Validate? Could we remove that check since pyxform does that work already?

Contributor guide

Open the contributing guide

Research direction

Start with the linked form and the existing JavaRosa tests for this repeat/select shape, then compare Validate behavior with `--skip_validate` and Collect. Review changes in pyxform and Validate between July 2023 and February 2025; done means identifying the regression and confirming whether removing the duplicate check restores valid forms without weakening required validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.