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

Partial Entries Add-on: Notification with PDF attached is cached #1370

Closed
jakejackson1 opened this issue Jul 6, 2022 · 0 comments · Fixed by #1556
Closed

Partial Entries Add-on: Notification with PDF attached is cached #1370

jakejackson1 opened this issue Jul 6, 2022 · 0 comments · Fixed by #1556
Labels
Milestone

Comments

@jakejackson1
Copy link
Member

Description
When enabling the Partial Entries add-on on a form and setting up a Notification email with a Gravity PDF-attachment the generated PDF isn't removed from disk after the email is sent and this causes caching problems when the form actually does get submitted, as the old version is used.

Step To Reproduce
Steps to reproduce the behavior:

  1. Enable Partial Entries on a form
  2. Setup a Notification email that is sent on the event "Partial Entries: Saved"
  3. Setup a Notification email to be sent on the event "Form Submitted"
  4. Setup a PDF to be attached to both Notification
  5. In the form create a few fields that are required
  6. Preview the form, fill out one of the fields and hit submit.
  7. When a validation error occurs, fill the rest of the form out and submit
  8. Preview the PDF attachment from both emails sent

Expected behavior
The Form Submission PDF attachment should not use the cached version and instead correctly show all entered information on form submission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants