Update hook 840004 token replacement missing bracket

Created on 26 October 2023, about 1 year ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

The update hook simplenews_update_840004 replaces the token [simplenews-subscriber:combined-url] in setting subscription.confirm_combined_body with [simplenews-subscriber:confirm-url. Because of the missing closing bracket, the token does not work anymore.

Steps to reproduce

  • Setup Drupal 9 project
  • Install simplenews:^3
  • Configure simplenews
  • Set setting subscription.confirm_combined_body with token [simplenews-subscriber:combined-url]
  • Update to simplenews:^4
  • Run update hooks
  • Token replacement failed: [simplenews-subscriber:confirm-url

Proposed resolution

I will provide a MR with a fix

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇩🇪Germany jocowood Kamp-Lintfort

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

Comments & Activities

Production build 0.71.5 2024