Dynamic Repeat Group does not work properly if the number of repetitions is updated

1. What is the problem?
When I update the number of iterations of a dynamic repeating group, the number of repetitions in the group only changes if the updated number is higher than the one previously entered. Otherwise, the number of iterations remains fixed at the highest value previously entered.

2. What app or server are you using and on what device and operating system?
Server: KoboToolbox (2020-06-27)
App: ODK Collect v1.27.2

3. What steps can we take to reproduce the problem?
Create a XLSform with a integer input and a dynamic repeat group based on this integer. Run it with a X number of repetitions, go back and change the number of repetitions to a value < X . Finally, check the dynamic repeat group once again.

4. Anything else we should know or have?
You can check it through this XLSform: repgroup-test.xlsx (10.4 KB)

Hi @nnsdtr,

Welcome back to the community! Kindly please be informed that ODK Collect V1.28 should solve the issue (which should be coming in August 2020.

For details, you could also have a look at the discussion that is going on in the ODK Community.

Have a great day!

Hello @nnsdtr,
We posted the same bug. See

(My feeling is it was working early well last year.)

Reducing the repeat_count at the moment creates inconsistent data in KoBoCollect. Except the repeat variable, nothing is changed, even count(), and even not on save or finalisation.
We couldn’t find any workaround so far, except to mark those cases manually (e.g. DELETE as person name) and clean-up later in re-edit / analysis, including all references.

And two further repeat problems, but with Enketo (pages style)

Hopefully, all three issues to be tracked in GitHub and solved soon.
Kind regards