Bug #71973
wf/notification, error dans perform (UnboundLocalError: local variable 'to' referenced before assignment)
Début:
02 décembre 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/97662/
UnboundLocalError: local variable 'to' referenced before assignment (18 additional frame(s) were not displayed) ... File "wcs/formdata.py", line 750, in handle_workflow_form return wf_status.handle_form(form, self, user) File "wcs/workflows.py", line 2255, in handle_form url = filled.perform_workflow(event='workflow-form-submit') File "wcs/formdata.py", line 669, in perform_workflow url = perform_items(wf_status.items, self, event=event) File "wcs/workflows.py", line 96, in perform_items url = item.perform(formdata) or url File "wcs/wf/notification.py", line 173, in perform self.to = [x for x in to if x != '_submitter']
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus d'un an
- Assigné à mis à Frédéric Péters
ça doit être moi via le multilinguisme :/
Mis à jour par Frédéric Péters il y a plus d'un an
- Fichier 0001-workflows-fix-notifications-to-non-submitter-when-i1.patch 0001-workflows-fix-notifications-to-non-submitter-when-i1.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Lauréline Guérin il y a plus d'un an
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus d'un an
- Statut changé de Solution validée à Résolu (à déployer)
commit 6d35a544befa1ac2d01b366d2cc89eefe6af6112 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Dec 2 15:23:01 2022 +0100 workflows: fix notifications to non-submitter when i18n is enabled (#71973)
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: fix notifications to non-submitter when i18n is enabled (#71973)