When there's only silent/hidden newsletters, default subscription doesn't work

Created on 25 January 2025, 3 months ago

Problem/Motivation

When there's only hidden subscriptions, and no "regular" ones, the registration form processing doesn't process the hidden subscriptions.

Steps to reproduce

- Add one or multiple newsletters
- Make sure there are no newsletters with the options "Default on" or "Default off"
- Make sure there is at least one newsletter with the option "Silent"
- Register a new user
- See there is no Subscriber entity created and the settings aren't followed

Proposed resolution

- Update simplenews_user_profile_form_submit to ensure subscriptions and hidden are both processed.

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

🇧🇪Belgium daften

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