Skip to content

fix(email): add missing POAM notification email templates#373

Closed
AKAbdulHanif wants to merge 1 commit into
mainfrom
feat/bch-poam-email-templates
Closed

fix(email): add missing POAM notification email templates#373
AKAbdulHanif wants to merge 1 commit into
mainfrom
feat/bch-poam-email-templates

Conversation

@AKAbdulHanif
Copy link
Copy Markdown
Contributor

Three workers referenced email templates that did not exist as embedded files, causing the email service to fail at runtime with a template-not- found error:

  • poam-overdue-notification (PoamOverdueNotificationWorker)
  • poam-deadline-reminder (PoamDeadlineReminderWorker)
  • poam-milestone-overdue-reminder (MilestoneOverdueReminderWorker)

Added HTML and plain-text variants for all three templates, following the style and variable conventions established by the existing poam-open-digest and risk-* templates.

Also added TestTemplateService_Poam* unit tests to the template service test suite so that missing templates are caught at test time rather than at runtime.

Three workers referenced email templates that did not exist as embedded
files, causing the email service to fail at runtime with a template-not-
found error:

  - poam-overdue-notification  (PoamOverdueNotificationWorker)
  - poam-deadline-reminder     (PoamDeadlineReminderWorker)
  - poam-milestone-overdue-reminder (MilestoneOverdueReminderWorker)

Added HTML and plain-text variants for all three templates, following
the style and variable conventions established by the existing
poam-open-digest and risk-* templates.

Also added TestTemplateService_Poam* unit tests to the template service
test suite so that missing templates are caught at test time rather than
at runtime.
@gusfcarvalho
Copy link
Copy Markdown
Contributor

I'd rather have this as a part of #366 -- without it #366 itself won't be functional. Closing :)

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