Skip to content

Unable to restore an entity form when no changes were made in the datasetΒ #1694

@dbemke

Description

@dbemke

Problem description

According to https://docs.google.com/document/d/16S_7SPlN8K4gsRufeOvM7nOqhpVLDWiRhQxERnCF4h4/edit?tab=t.3j8lit4lp0km#heading=h.p4gnm86e8z1v "deleted forms can be restored only if the dataset or properties in the dataset have not been deleted" .
If I publish an entity form and delete it (without making any changes in the dataset), I'm not able to restore the form. There is information "This Form cannot be restored because the related dataset(s) has been modified or deleted."

Steps to reproduce the problem

  1. Publish an entity form.
  2. Delete the form.
  3. Try to restore the form.

Expected behavior

It should be possible to restore the form if there weren't any changes in the dataset.

Central version shown in version.txt

https://staging.getodk.cloud/
versions:
9ea3088 (v2025.4.2-24-g9ea3088)
c2f306e43e8fefa38e335e210e59ee6ba9e57437 client (v2025.4.0-46-gc2f306e4)
0eae8e115bf8d2b501c2218a6b60ce4c8a77ac67 server (v2025.4.0-54-g0eae8e11)

Browser

Chrome, Firefox

Metadata

Metadata

Labels

backendRequires a change to the API serverbehavior verifiedBehavior has been manually verified

Type

Projects

Status

βœ… done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions