Bug #68598
Cellule Fiche(s), mauvaise configuration du custom_schema, varname manquant
Début:
31 août 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/89817/
KeyError: 'varname' File "django/template/base.py", line 829, in _resolve_lookup current = current[bit] AttributeError: 'dict' object has no attribute 'varname' File "django/template/base.py", line 837, in _resolve_lookup current = getattr(current, bit) ValueError: invalid literal for int() with base 10: 'varname' File "django/template/base.py", line 843, in _resolve_lookup current = current[int(bit)] VariableDoesNotExist: Failed lookup for key [varname] in {'cell_size': '', 'empty_value': '@empty@', 'display_mode': 'text', 'field_content': 'value'} (45 additional frame(s) were not displayed) ... File "django/template/defaulttags.py", line 511, in render values = {key: val.resolve(context) for key, val in self.extra_context.items()} File "django/template/defaulttags.py", line 511, in <dictcomp> values = {key: val.resolve(context) for key, val in self.extra_context.items()} File "django/template/base.py", line 692, in resolve arg_vals.append(arg.resolve(context)) File "django/template/base.py", line 796, in resolve value = self._resolve_lookup(context) File "django/template/base.py", line 848, in _resolve_lookup raise VariableDoesNotExist("Failed lookup for key "
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a plus d'un an
- Projet changé de Suivi des traces à Combo
- Sujet changé de VariableDoesNotExist: Failed lookup for key [varname] in {'cell_size': '', 'empty_value': '@empty@', 'display_mode': 't... à Cellule Fiche(s), mauvaise configuration du custom_schema, varname manquant
- Assigné à mis à Lauréline Guérin
Mis à jour par Lauréline Guérin il y a plus d'un an
- Fichier 0001-wcs-fix-card-rendering-with-missing-varname-in-custo.patch 0001-wcs-fix-card-rendering-with-missing-varname-in-custo.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
(par contre aucune idée de comment on en arrive à un schema incomplet)
Mis à jour par A. Berriot il y a plus d'un an
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a plus d'un an
- Statut changé de Solution validée à Résolu (à déployer)
commit d1b26246b7723890662909779fb75d86a729609f Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Wed Aug 31 22:23:32 2022 +0200 wcs: fix card rendering with missing varname in custom_schema (#68598)
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
wcs: fix card rendering with missing varname in custom_schema (#68598)