Projet

Général

Profil

Bug #9161

erreur sur champ texte autocomplété avec une source sans url

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
Début:
01 décembre 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description


Exception:
  type = '<type 'exceptions.TypeError'>', value = 'argument of type 'NoneType' is not iterable'

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/wcs/qommon/form.py", line 1781, in render_content
  1779         get_response().add_css_include('../js/smoothness/jquery-ui-1.10.0.custom.min.css')
  1780
> 1781         if '[' in self.url:
  1782             vars = get_publisher().substitutions.get_context_variables()
  1783             # skip variables that were not set (None)

(et un autre if ... in self.url un peu plus bas)

Dans cette situation tout simplement retourner un champ texte normal.


Fichiers

Révisions associées

Révision 4dbfd19f (diff)
Ajouté par Frédéric Péters il y a plus de 8 ans

form: don't fail on misconfigured autocomplete string widgets (#9161)

Historique

#1

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

#2

Mis à jour par Thomas Noël il y a plus de 8 ans

Ack

#3

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

  • Statut changé de En cours à Résolu (à déployer)
commit 4dbfd19f32995db97f9e217f91f1e2b86431bbb5
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Dec 1 10:54:14 2015 +0100

    form: don't fail on misconfigured autocomplete string widgets (#9161)
#4

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

  • Version cible mis à v1.25
#5

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

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF