Monday, June 24, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Email marketing activity views such as opened or clicked now display only records tied to the selected mailing. This prevents unrelated contact activity from appearing, giving users accurate campaign results and cleaner follow-up lists.
Original PR description
Previously, the action to retrieve traces fetched all records irrespective of their relationship with the specific Mass Mailing. This commit refines the retrieval process to only include traces associated with the corresponding Mass Mailing. [Reproduce] - Install mass_mailing - Open Email Marketing, Create new mass_mailing with Recipients set to "Contact" - Send to all - Select "Opened" (or any of the others control panel actions) - BUG: list is not empty, it should! (same for the other control traces) Generalization: Note that in the steps above we used Recipients set to "Contact" it will render buggy behavior with any recipients, however in this way we have existing contact traces that show up opw-3959467
This fix makes an automated mail test more reliable by ensuring a starred message is fully loaded before it is deleted during testing. It helps reduce false test failures, supporting smoother validation and releases without changing user-facing behavior.
Original PR description
Before this PR, the `delete starred message updates counter` test was sometimes failing. It occurs when the message is deleted before it is loaded. This PR ensures we wait for the message to be loaded before deleting it. runbot-61305,62004