Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Fix regression bug with notification type enqueuing as separate notification#138

Merged
finnlewis merged 3 commits into
1.xfrom
fix/1.x/134-failing-test
May 27, 2025
Merged

Fix regression bug with notification type enqueuing as separate notification#138
finnlewis merged 3 commits into
1.xfrom
fix/1.x/134-failing-test

Conversation

@stephen-cox

Copy link
Copy Markdown
Member

Fixes #137

What does this change?

Enqueues notifications depending on service contact and notification type, not just on service contact

With #134 a fix was committed that ensures email notifications were aggregated, but this exposed another error. A notification type is designed to use it's own email template and so needs to be enqueued separately. This happened previously as notifications weren't aggregated, now they are they are not separated by type.

How to test

There's only one notification type currently defined, so as long as the tests pass I think it's good to merge 😄

@stephen-cox stephen-cox mentioned this pull request May 23, 2025
@finnlewis

Copy link
Copy Markdown
Member

Added a separate issue for the ESLint failures: #139

@finnlewis finnlewis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tests pass, (apart from for PHP 8.4)

Comment thread modules/localgov_workflows_notifications/src/WorkflowNotification.php Outdated
@finnlewis finnlewis merged commit ac103ee into 1.x May 27, 2025
14 of 17 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests failure after merging #134

3 participants