-
Notifications
You must be signed in to change notification settings - Fork 8
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 an event in Civi does not delete corresponding event in EO #29
Comments
@kurund I think this has been discussed elsewhere and it was decided not to delete the EO event because there may be unintended data loss. Similar logic was thought through in the reverse direction too. See: And: If that is your desired behaviour, it's simple to do so in a separate plugin. |
FWIW I'm happy to add actions in the relevant places if you want to piggyback the existing hooks and exclusions in this plugin. |
@christianwach Thanks for the quick response, will check and let you know. |
@christianwach one could argue that you do the thinking about data loss before you delete the event in CiviCRM. Or is there other data / things that I am not thinking about. Would you be up for us adding a setting to the extension as an alternative approach to adding actions? |
@michaelmcandrew It depends on where your canonical data resides. If CiviCRM Events are the source of your canonical data, then sure, deleting EO Events when CiviEvents are deleted makes sense. If your source data resides in EO (with CiviCRM in the background, so to speak) then deleting the CiviCRM Event can, for example, be done in order to regenerate it on the next save of the EO Event. Any delete process also has to consider what happens when EO Repeating Schedules are modified and the "Delete unused CiviEvents" checkbox is checked.
I'm happy to consider a setting - or, more likely, a group of settings - if they respect the complexity of the issue and work for everyone. |
Current Behavior
Expected Behavior
The text was updated successfully, but these errors were encountered: