Decision:
Deleting a form will count as "unlinking it" from a dataset, allowing the dataset to be deleted.
As for restoring a deleted form that references a deleted dataset (or deleted dataset property), there were too many questions related to re-creating or re-linking forms to deleted datasets that we decided to just restrict form restoration. If you delete a form, and then delete any of the datasets or properties it was linked to, you will be unable to restore the form.
Testing note for QA:
Verify that a deleted form can't be restored if any of the datasets or properties it was attached to have been deleted.
First brought up in
Does the dataset metadata stuff check for deleted forms?
If you're able to delete a dataset after deleting a form, what does that mean for restoring the form? If you're not able to do so, what is it like to be stuck with a dataset you can't delete because a soft-deleted form still has a reference to it?
Decision:
Deleting a form will count as "unlinking it" from a dataset, allowing the dataset to be deleted.
As for restoring a deleted form that references a deleted dataset (or deleted dataset property), there were too many questions related to re-creating or re-linking forms to deleted datasets that we decided to just restrict form restoration. If you delete a form, and then delete any of the datasets or properties it was linked to, you will be unable to restore the form.
Testing note for QA:
Verify that a deleted form can't be restored if any of the datasets or properties it was attached to have been deleted.
First brought up in
Does the dataset metadata stuff check for deleted forms?
If you're able to delete a dataset after deleting a form, what does that mean for restoring the form? If you're not able to do so, what is it like to be stuck with a dataset you can't delete because a soft-deleted form still has a reference to it?