Bug #63709
TypeError: string object required
Début:
08 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/nfrance/issues/55131/
TypeError: string object required (23 additional frame(s) were not displayed) ... File "django/template/base.py", line 858, in _resolve_lookup current = current() File "wcs/forms/root.py", line 659, in <lambda> 'form_side': lambda: self.form_side(0, page, data=data, magictoken=magictoken), File "wcs/backoffice/submission.py", line 318, in form_side get_response().filter['sidebar'] = self.get_sidebar(data) File "wcs/backoffice/submission.py", line 279, in get_sidebar parent=self File "wcs/backoffice/management.py", line 3110, in get_extra_submission_user_selection_bar get_publisher().user_class.get(parent.selected_user_id, ignore_errors=True),
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 2 ans
- Assigné à mis à Frédéric Péters
In [7]: get_publisher().user_class.get("124223", ignore_errors=True) Out[7]: <SqlUser 'Utilisateur inconnu' id:124223> In [8]: htmltext('%s') % get_publisher().user_class.get("124223", ignore_errors=True) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-8-d4e4400f0c54> in <module>() ----> 1 htmltext('%s') % get_publisher().user_class.get("124223", ignore_errors=True) TypeError: string object required
Mis à jour par Frédéric Péters il y a environ 2 ans
- Fichier 0001-misc-force-unknown-user-label-to-be-a-real-string-63.patch 0001-misc-force-unknown-user-label-to-be-a-real-string-63.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 environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 4c7ee664214befe076839aeaa7ae79b54f748f7f Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sat Apr 9 18:44:42 2022 +0200 misc: force unknown user label to be a real string (#63709)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: force unknown user label to be a real string (#63709)