Bug #40216
KeyError, options
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
Révisions associées
Revert "forms: only update item options if there are new values (#40216)"
This reverts commit 407098ea38eaf550017cae800c6f9b60ba6f612f.
forms: only update item options if there are new values (#40216)
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-forms-only-update-item-options-if-there-are-new-valu.patch 0001-forms-only-update-item-options-if-there-are-new-valu.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
(vu le code sans doute parce que champ configuré en autocomplétion)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-forms-only-update-item-options-if-there-are-new-valu.patch 0001-forms-only-update-item-options-if-there-are-new-valu.patch ajouté
Avec le test quand même.
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
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éterssupprimé
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)
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
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution déployée à En cours
Reverté (cf #40235)
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é
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é
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de En cours à Solution validée
À (re)pousser.
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
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
forms: only update item options if there are new values (#40216)