Project

General

Profile

Actions

Anomalie #1577

closed

The replacements break new user registration email notification

Added by Guillaume Agniéray 12 months ago. Updated 12 months ago.

Status:
Fermé
Priority:
Normal
Category:
Emails
Target version:
Start date:
09/30/2021
Due date:
% Done:

100%

Estimated time:
Version utilisée:

Description

Adding a new member as admin and choosing to send a notification, fails in sending the email.
Not tested with auto-registration, but I suppose it is the same.
Reproductible on a default 0.9.5 or nightly install.

Logs show that arrays of patterns and expected corresponding replacements mismatch.

Comparing both arrays, it seems that the deadline is missing in the replacements.
The case is not handled : source:/galette/lib/Galette/Features/Replacements.php#L527

Adding $c_replacements['deadline'] = null; on line 528 fixes the issue.


Files

Actions #2

Updated by Guillaume Agniéray 12 months ago

  • Status changed from In Progress to Résolu
  • % Done changed from 0 to 100
Actions #3

Updated by Johan Cwiklinski 12 months ago

  • Status changed from Résolu to Fermé
  • Assignee set to Guillaume Agniéray
Actions

Also available in: Atom PDF