SuffolkLITLab / docassemble-AssemblyLine

Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/
MIT License
41 stars 5 forks source link

Delete all answer sets bug #829

Open ladracer opened 7 months ago

ladracer commented 7 months ago

Describe the bug

It seems that if a user selects to delete all saved answer sets WHEN THERE ARE NO ANSWER SETS an error is generated.

To Reproduce Steps to reproduce the behavior:

  1. Go to Answer Sets
  2. Click on Delete All Answer Sets
  3. Repeat (Click on Delete All Answer Sets)
  4. See error

Expected behavior A message saying that there are currently no answer sets or perhaps even better would be "All answer sets have been deleted."

Screenshots

answer sets delete error

Version Information (should be in your.docassemble.server/updatepackage:

Additional context Add any other context about the problem here.