Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a Page puts the form into an unexpected state #4148

Closed
thiessenp-cds opened this issue Aug 1, 2024 · 1 comment
Closed

Deleting a Page puts the form into an unexpected state #4148

thiessenp-cds opened this issue Aug 1, 2024 · 1 comment
Labels
App bug Something isn't working

Comments

@thiessenp-cds
Copy link
Contributor

thiessenp-cds commented Aug 1, 2024

In short, in the form-builder create a simple form add a page and then delete that page. Open the Logic view and you'll notice the Start group is detached from the Review group. The form is no longer able to submit.

Here are the steps (and form attached) from Pat who found the bug:

  1. Created an unsubmittable form somehow. JSON of the form is attached. To create this form I added a radio button group, and then two short answers with the radio buttons determining which short answer should be displayed.
  2. Branching screen showing the Review page for scenarios it should not exist
  3. Attempted to delete a form with responses, got the error saying it could not be deleted but could also not dismiss that error box (just kept re-appearing)
  4. Added a page, and then removed the page, which caused the Branching screen to show only a connection between Review and Confirm

conditional-input-history-4036-2024-07-31.json

@thiessenp-cds thiessenp-cds added bug Something isn't working App labels Aug 1, 2024
@thiessenp-cds
Copy link
Contributor Author

Duplicate of #4135

@thiessenp-cds thiessenp-cds marked this as a duplicate of #4135 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant