Skip to content

Document Company deletion behavior and Contact reassignment#732

Open
promptless-for-oss wants to merge 4 commits into
mautic:7.2from
Promptless:promptless/company-deletion-behavior
Open

Document Company deletion behavior and Contact reassignment#732
promptless-for-oss wants to merge 4 commits into
mautic:7.2from
Promptless:promptless/company-deletion-behavior

Conversation

@promptless-for-oss
Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Documents what happens when a Company is deleted: Contacts with multiple Companies get a new primary (most recently attached), and Contacts with only that Company lose their Company association. Also notes the confirmation dialog behavior.

Trigger Events


Tip: Point @Promptless at some of your docs debt and have it clean them up in the background 🧹

Explains what happens to Contact-Company relationships when deleting a Company:
- Contacts with multiple Companies get a new primary (most recently attached)
- Contacts with only that Company lose their Company association
- Confirmation dialog informs users of this behavior before proceeding

.. vale on

Deleting a Company updates the Contact-Company relationships for all Contacts associated with that Company:
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added documentation for the new Company deletion behavior from PR #16176. The PR introduces soft delete with automatic Contact-Company relationship updates: CompanySubscriber.php handles reassigning the primary Company via changePrimaryCompanyToLatest(), and the UI confirmation messages in messages.ini were updated to explain this behavior.

Source: mautic/mautic#16176

Comment thread docs/companies/companies_overview.rst Outdated
Per reviewer feedback, update list markers from dashes to asterisks
to follow Mautic documentation style conventions.
@promptless-for-oss
Copy link
Copy Markdown
Author

Done, @adiati98! Changed the unordered list markers from dashes to asterisks per the Mautic style guide.

Comment thread docs/companies/companies_overview.rst
@promptless-for-oss
Copy link
Copy Markdown
Author

Done, @adiati98! Removed the blank line between the bullet points.

@adiati98 adiati98 added this to the Mautic 7.2 milestone May 31, 2026
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