govuk_notify_views_backend incompatible with GovUKNotifyService

Created on 22 July 2024, 4 months ago
Updated 24 July 2024, 4 months ago

Problem/Motivation

While updating to 3.1.1 we identified the included module, govuk_notify_views_backend, is not compatible due to the service definition not accounting for new constructor arguments.

Steps to reproduce

* Use `govuk_notify_views_backend` submodule
* Receive error

```
ArgumentCountError: Too few arguments to function Drupal\govuk_notify\NotifyService\GovUKNotifyService::__construct(), 0 passed
```

Proposed resolution

Correct service definition.

Remaining tasks

* Community review

🐛 Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

🇬🇧United Kingdom alexj12

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024