Project

General

Profile

Anomalie #1577

The replacements break new user registration email notification

Added by Guillaume Agnieray 2 months ago. Updated 2 months ago.

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

100%

Estimated time:
Version utilisée:
Vote:

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

#2

Updated by Guillaume Agnieray 2 months ago

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

Updated by Johan Cwiklinski 2 months ago

  • Status changed from Résolu to Fermé
  • Assignee set to Guillaume Agnieray

Also available in: Atom PDF