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
Count of repeats is not updated when remove group #630
Comments
@kkrawczyk123 could you please try v1.27 or earlier? (Before JR 3.0) It's related to https://github.com/getodk/javarosa/blob/ee20abd97d2baad109f623a4e06924c1b9610000/dag.md#note-about-repeats and how the DAG has a pretty poor understanding of repeats in general. This is a case of counts outside the repeat. I'm pretty confident
|
@lognaturel, I am able to reproduce this issue on 1.27. I have also tried on 1.25 where I am unable to open form, error message displays. |
Thanks, @kkrawczyk123! Great to know it wasn't a regression. Let's definitely add a test and I've also added an idea to explore. |
Software and hardware versions
Collect v1.29.x, Android vx.x.x, device used...
Problem description
When testing I have noticed issue that when I remove group, calculation in form depending on group count is not updated.
Form that I have used:
count-non-empty.xml.txt
gif of issue:
Steps to reproduce the problem
Expected behavior
Calculation should be updated after removing groups.
Other information
It is not a new issue but I have not verified older versions than 1.29.
The text was updated successfully, but these errors were encountered: