Projet

Général

Profil

Actions

Anomalie #1577

fermé

The replacements break new user registration email notification

Ajouté par Guillaume AGNIERAY il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Emails
Version cible:
Début:
30/09/2021
Echéance:
% réalisé:

100%

Temps estimé:
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.


Fichiers

Actions

Formats disponibles : Atom PDF