Skip to content

fix(asf): include the CVE title in state notification subjects - #298

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/261-state-email-title
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/261-state-email-title

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown

Summary

Includes the CVE title in the subject of state-change notification emails for both CVE 5 and CVE 4 records.

Changes

  • Add a small stateChangeSubject helper in custom/asf.js
  • Collapse whitespace and omit the title suffix when there is no title
  • Cover both record shapes with stubbed-email tests in unittest/asfacl.js

Testing

  • npm run unittest: passes
  • The new assertions fail without the fix

Closes #261

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.

Include the CVE title in the titles of the notification emails

1 participant