Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

The behavior on edit draft submission:

1) Edit a draft submission.
2) Have fields that are in error on the form submit
3) Click on save

This causes the code I wrote to pass the guard condition on eventService.js on line 20.

Solutions?
1) Not sure if adding an and condition for !data.draft would solve it as it probably is always true when editing a draft.

2) Failing a submission should set the data.data.submit flag back to false?

The following seems to prevent the behavior from occuring:

image-20240621-180736.png



nfeli - Discusses the issue in discord on chefs-tldr

image-20240621-170959.png

  • No labels