Skip to content

bugfix/AB#31165 - Email - Fix dropped CC and BCC contacts #2103

Merged
JamesPasta merged 3 commits intodevfrom
bugfix/AB#31165-notifications-drop-cc-bcc
Mar 6, 2026
Merged

bugfix/AB#31165 - Email - Fix dropped CC and BCC contacts #2103
JamesPasta merged 3 commits intodevfrom
bugfix/AB#31165-notifications-drop-cc-bcc

Conversation

@plavoie-BC
Copy link
Contributor

@plavoie-BC plavoie-BC commented Mar 6, 2026

Pull request overview

Refactors CHES email payload construction in the Notifications module to better align with the expected schema and to avoid sending optional fields when they aren’t provided.

Changes:

  • Added an excludeTemplate flag to control whether templateName is included in the outbound CHES payload.
  • Only includes cc/bcc fields in the payload when they have values (avoids sending null).
  • Updated EmailLog mapping for cc/bcc to safely handle absent fields.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 465
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors CHES email payload construction in the Notifications module to better align with the expected schema and to avoid sending optional fields when they aren’t provided.

Changes:

  • Added an excludeTemplate flag to control whether templateName is included in the outbound CHES payload.
  • Only includes cc/bcc fields in the payload when they have values (avoids sending null).
  • Updated EmailLog mapping for cc/bcc to safely handle absent fields.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 465
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@plavoie-BC plavoie-BC marked this pull request as ready for review March 6, 2026 23:43
@plavoie-BC plavoie-BC requested a review from JamesPasta March 6, 2026 23:43
@plavoie-BC plavoie-BC changed the title bugfix/AB#31165 - Fix dropped CC and BCC contacts bugfix/AB#31165 - Email - Fix dropped CC and BCC contacts Mar 6, 2026
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 465
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@JamesPasta JamesPasta merged commit 2c3c676 into dev Mar 6, 2026
22 checks passed
@JamesPasta JamesPasta deleted the bugfix/AB#31165-notifications-drop-cc-bcc branch March 6, 2026 23:55
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.

3 participants