Projet

Général

Profil

Bug #56252

AttributeError: 'SplitDateTimeWidget' object has no attribute 'input_type'

Ajouté par Sentry Io il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
19 août 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/51567/

AttributeError: 'SplitDateTimeWidget' object has no attribute 'input_type'
(35 additional frame(s) were not displayed)
...
  File "/usr/lib/python3/dist-packages/gadjo/templates/gadjo/root.html", line 19
    <script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>

Fichiers

Révisions associées

Révision e50ab0df (diff)
Ajouté par Serghei Mihai il y a plus de 2 ans

templates: search custom template for simple widgets only (#56252)

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Projet changé de Suivi des traces à Chrono
#2

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Projet changé de Chrono à Gadjo

En fait plutôt amené par gadjo,

  File "/usr/lib/python3/dist-packages/gadjo/templates/gadjo/root.html", line 19
    <script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>
  File "django/template/base.py", line 698, in resolve
    new_obj = func(obj, *arg_vals)
  File "gadjo/templatetags/gadjo.py", line 127, in with_template
    templates = ['gadjo/%s-widget.html' % field.field.widget.input_type, 'gadjo/widget.html']
#3

Mis à jour par Serghei Mihai il y a plus de 2 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Serghei Mihai
#4

Mis à jour par Serghei Mihai il y a plus de 2 ans

#6

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Statut changé de Solution proposée à Solution validée
#7

Mis à jour par Serghei Mihai il y a plus de 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit e50ab0dfe190db5335fa42bdb33c34388e403f3c (HEAD -> main, origin/main, origin/HEAD)
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Thu Aug 19 10:36:36 2021 +0200

    templates: search custom template for simple widgets only (#56252)
#9

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF