ODK collect v2023.3: forms jump to random sections

1. What is the issue? Please be detailed.
When we are filling out longer ODK forms and want to save the data entry during this process, the saving triggers a random jump to an earlier section of the form. This problem appeared for the first time about 10 days ago and affects all our tablets.

The forms that are affected have already been in use for at least 6 months and had between 60 and 150 successful submissions before the problem occurred.

2. What steps can we take to reproduce this issue?
Tablet model: Lenovo TB-8505F

Form characteristics: forms have between 650 and 1000 lines for the survey, relatively often there are some relevant formulas (individual variable level and on group level) and constraint formulas. Additionally, the form has some references to other fields in the label column (e.g. ${first_name}). Most rows are set to required.

Settings in ODK collect: constrain processing set to defer validation until finalization, automatic update frequency is set to every 15 minutes, and forms are deleted after finalization.

3. What have you tried to fix the issue?
We reconfigured the project on the apps, I reinstalled the ODK collect app on one tablet. Nothing affected the odd behavior of this jumping.

We checked also if the problem also occurs with shorter forms (with relevance and constraint formula but not settings for required). There, the problem does not occur.

4. Upload any forms or screenshots you can share publicly below.
I am sorry, the forms are unfortunately confidential.

Few more information:

a) It happens independently if I change the validation upon forward swipe.
b) after saving, if I try to go to the next question I'm sent back to the first question of the group of questions I'm in (begin_group, end_group)

Tested on Samsung Galaxy Tab SM-T285

Hi @mbigler and @aurdipas

Thanks for reporting the issue. It looks like a regression in v2023.3 so we will try to track it down ASAP. And thanks for the forms you have shared with me via private message that would be helpful.

1 Like

Hi @aurdipas, @mbigler,
Is this jump related to any error at/around this location? E.g. first missing value (required).

@mbigler @aurdipas
I was able to reproduce and track down the issue see: https://github.com/getodk/collect/issues/5847
Could you confirm that it takes place when you save a form using the save icon from the toolbar (and not any other saving option)? I believe that's the only possible way of reproducing it but you didn't specify what saving a form means. There are other ways of saving a form (but they close a form so I'm pretty sure you have used that save icon) so it would be great to confirm we are talking about the same way.

Hi @Grzesiek2010,

yes I confirm that the problem is happening using the save icon of the toolbar.
Thank you very much for looking at it.

Thanks. I've prepared a fix for the issue and it will be tested soon by the QA team. I hope next week we will release v2023.3.1 with this and a couple of other fixes.

1 Like