verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 69 forks source link

Formie Import does not delete notifications #1941

Open Megafry opened 1 week ago

Megafry commented 1 week ago

Describe the bug

I deleted all notifications from a form on my local machine and created an export to re-import on the customer site. The Import does not remove the notifications.

Steps to reproduce

  1. Create a form with notifications
  2. Export the form
  3. Delete all notifications
  4. Import the form with the option Update existing form
  5. The notifications are still there

Form settings

Craft CMS version

4.10.1

Plugin version

2.1.19

Multi-site?

no

Additional context

No response

engram-design commented 1 week ago

I can recall doing this on purpose, thinking it was a bit heavy-handed to do that to any notifications. But the process of importing this is indeed to "replace" the form in its entirety (unless you choose to create a new form), so it probably stands to reason that we should clean out any notifications not in the import.