Projet

Général

Profil

Bug #40216

KeyError, options

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
27 février 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Suite à #40190,

Exception:
  type = '<class 'KeyError'>', value = ''options''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/forms/root.py", line 431, in page
   429                         field.perform_more_widget_changes(form, kwargs)
   430                         widget.options = kwargs['options']
>  431                         widget.options_with_attributes = kwargs['options_with_attributes']
   432
   433         self.html_top(self.formdef.name)

je ne vais pas aujourd'hui creuser l'origine, la configuration des champs là-bas, etc.


Fichiers


Demandes liées

Lié à w.c.s. - Bug #40190: source de données dépendant d'un champ prérempli de la même (première) pageFermé25 février 2020

Actions
Lié à w.c.s. - Bug #40235: time data '' does not match format '%d/%m/%Y'Fermé27 février 2020

Actions

Révisions associées

Révision 407098ea (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

forms: only update item options if there are new values (#40216)

Révision 55e849ff (diff)
Ajouté par Thomas Noël il y a environ 4 ans

Revert "forms: only update item options if there are new values (#40216)"

This reverts commit 407098ea38eaf550017cae800c6f9b60ba6f612f.

Révision f2308152 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

forms: only update item options if there are new values (#40216)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

(vu le code sans doute parce que champ configuré en autocomplétion)

#3

Mis à jour par Serghei Mihai il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
  • Assigné à mis à Frédéric Péters
#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
  • Assigné à Frédéric Péters supprimé
commit 407098ea38eaf550017cae800c6f9b60ba6f612f
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Feb 27 09:04:51 2020 +0100

    forms: only update item options if there are new values (#40216)
#5

Mis à jour par Frédéric Péters il y a environ 4 ans

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

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution déployée à En cours

Reverté (cf #40235)

#7

Mis à jour par Thomas Noël il y a environ 4 ans

  • Lié à Bug #40190: source de données dépendant d'un champ prérempli de la même (première) page ajouté
#8

Mis à jour par Thomas Noël il y a environ 4 ans

  • Lié à Bug #40235: time data '' does not match format '%d/%m/%Y' ajouté
#9

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de En cours à Solution validée

À (re)pousser.

#10

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
#11

Mis à jour par Frédéric Péters il y a environ 4 ans

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

Formats disponibles : Atom PDF