You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Values in an update form are modified after finalizing the form. When I fill the form I see the correct values (previous properties) but after finalizing the form when I go to "Ready to send” and open the form there are new values in the field where are previous values should be.
In the screenshot: on the left - created entity 147147; on the right updated 147147 to 14771477 (check "select tree to update" and circumference vs new circumference)
Steps to reproduce the problem
Download a project with registration and update form (e.g. trees registration and trees update).
In Collect set auto send to off.
Fill the registration form and finalize it.
Go to the update form and select the created entity.
Fill updating the entity check if old values are correct.
Finalize the form.
Go to "Ready to send” to the update form and check the old values.
The text was updated successfully, but these errors were encountered:
I think this is confusing but expected. Opening a filled form reruns calculations which means values are pulled from entity lists again. It should work the same way without offline entities — if you update an Entity List or attached CSV and opened a form you had filled previously it will pull in new values. If you don’t want that behavior you can use the once() function or a trigger in form design.
It's always been an uncomfortable thing about edits on the server. Having a chain of updates makes this much more apparent on the client.
ODK Collect version
the master version 9d5e3ae
Android version
10, 14
Device used
Redmi 9T, Pixel 7a
Problem description
Values in an update form are modified after finalizing the form. When I fill the form I see the correct values (previous properties) but after finalizing the form when I go to "Ready to send” and open the form there are new values in the field where are previous values should be.
In the screenshot: on the left - created entity 147147; on the right updated 147147 to 14771477 (check "select tree to update" and circumference vs new circumference)
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: