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
the store version 2024.2.4, the master version cff7a1e
Android version
10, 14
Device used
Redmi 9T, Pixel 7a
Problem description
Is creating a new version of a form in Collect by pasting another form with the same id (of an existing form in the project) to forms folder the expected behavior?
I compared 2 scenarios for these steps - I created a project in Central, downloaded it to Collect and then I just pasted a form to forms folder in Collect:
if the pasted form has a different ID than other existing forms in the project, refreshing the list of blank form removes the pasted form from the list of new forms in Collect
if the pasted form has the same ID as one of the existing forms in the project, the pasted form appears in "Start new form” as a new version of form from Central (works well with "hide old version” setting enabled/ disabled; doesn’t disappear after refreshing the list of blank forms). Afterwards if a user tries to send the form there's information about 2 form matching the same ID.
Steps to reproduce the problem
Create a project with the form on Central and download the project to Collect. blob_test.xml.txt
Copy the second version of the form and via e.g. File Manager paste it to Collect forms folder. blob_test2.xml.txt
Open "Star new form”.
The text was updated successfully, but these errors were encountered:
The different ID case feels expected — in match exactly mode we only show forms that come from the server. Do you see it in manual form update mode?
There does seem to be something not quite right about the same ID, different version case. I don’t think it needs action, though, because a user would really have to do something unusual to get there.
After pasting manually a "new version" of a form I go to "Download form" (in manual update mode) and download again the version of the form from the server, in "Start new form" there's the second version (not the one from the server I tried to download again).
ODK Collect version
the store version 2024.2.4, the master version cff7a1e
Android version
10, 14
Device used
Redmi 9T, Pixel 7a
Problem description
Is creating a new version of a form in Collect by pasting another form with the same id (of an existing form in the project) to forms folder the expected behavior?
I compared 2 scenarios for these steps - I created a project in Central, downloaded it to Collect and then I just pasted a form to forms folder in Collect:
Steps to reproduce the problem
blob_test.xml.txt
blob_test2.xml.txt
The text was updated successfully, but these errors were encountered: