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

Deleting a campaign shouldn't delete related leads and opportunities. #1330

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

steveyken
Copy link
Member

I was intrigued to find that deleting a campaign also deletes leads and opportunities (and has done so for many years).

I'm wondering if this is a long-standing bug or intentional behaviour?

I've submitted a pull-request to remove this behaviour if we decide we want to go that route.

I've also noticed that related tasks are deleted whenever their parent Account, Contact, Opportunity etc are deleted. I think that makes sense but happy to be pursuaded otherwise.

@steveyken
Copy link
Member Author

cc @CloCkWeRX for an opinion before merging

Copy link
Member

@CloCkWeRX CloCkWeRX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@CloCkWeRX
Copy link
Member

We might want to look at a wide spread pattern of soft deletes/archiving; and make the hard delete policies/service person/company centric (right to be forgotten)

@CloCkWeRX CloCkWeRX merged commit e8d5057 into master Aug 23, 2024
8 checks passed
@CloCkWeRX CloCkWeRX deleted the campaign-not-dependent-destroy branch August 23, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants