-
Notifications
You must be signed in to change notification settings - Fork 26
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
Indexed repeat with incorrect number of parameters #60
Comments
The full expression is I bet this is exactly what's going on with getodk/javarosa#480 (comment) -- it's probably a nested I just added a commit to #78 to at least explain this behavior. I'll need to keep thinking about what we can/should do about the broader issue and have filed getodk/javarosa#481 since it will need to be addressed in JavaRosa. |
Ahhhh, I see. Yes, getodk/javarosa#481 looks like the super fix to this problem. |
Problem description
An issue in which
indexed-repeat()
is used without the correct number of parameters (i.e. odd numbers >= 3) is not caught and does not produce an error message.Steps to reproduce the problem
Try to upload the following form: ET-CRVS-KAP-Questionnaire-v4-jef.xlsx to XLSForm Online. It should produce an error message, but doesn't. Instead, an error appears when loading in Enketo afterwards.
Expected behavior
The error is caught and an error message is presented.
Other information
The following message appears after converting using XLSForm online and loading in Enketo:
This should not happen in Enketo, but should happen at the time that ODK Validate (or PyXform) is run.
Also filed at PyXform: XLSForm/pyxform#243
The text was updated successfully, but these errors were encountered: