Development #43038
TypeError: unsupported operand type(s) for +=: 'IterableFactory' and 'list'
Début:
18 mai 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/2340/
TypeError: unsupported operand type(s) for +=: 'IterableFactory' and 'list' (16 additional frame(s) were not displayed) ... File "django/forms/formsets.py", line 144, in forms for i in range(self.total_form_count())] File "django/forms/models.py", line 621, in _construct_form return super(BaseModelFormSet, self)._construct_form(i, **kwargs) File "django/forms/formsets.py", line 182, in _construct_form form = self.form(**defaults) File "authentic2/saml/admin.py", line 146, in __init__ super(NewForm, self).__init__(*args, **kwargs) File "authentic2/saml/admin.py", line 122, in __init__ choices += [('edupersontargetedid', 'eduPersonTargetedId')] Internal Server Error: /admin/saml/spoptionsidppolicy/1/change/
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
- Projet changé de Suivi des traces à Authentic 2
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Fichier 0001-idp_saml2-make-list-of-an-iterator-43038.patch 0001-idp_saml2-make-list-of-an-iterator-43038.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Paul Marillonnet il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
Ok.
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 16d49ee7533031a1135eef6dfc716709908a7793 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Mon May 18 20:19:46 2020 +0200 idp_saml2: make list of an iterator (#43038)
Mis à jour par Frédéric Péters il y a presque 4 ans
Bof, c'est un écran où personne normalement ne va; ça peut pour moi attendre trois jours.
Mis à jour par Frédéric Péters il y a presque 4 ans
Par contre s'assurer que ça soit en recette, pour que ça passe en prod, ça oui.
Mis à jour par Serghei Mihai il y a presque 4 ans
Le tag 2.45 a été posé mais le build n'a pas été lancé, et puis il y a eu le 5ce3efbeee3e21483ddb4385cea960abe781a057 par dessus. Le paquet 2.45 n'a pas été buildé.
J'ai posé le tag 2.46, lancé le build et mis à jour les recettes. Au CD31 j'ai eu des timeouts de connexion ssh (no sé porqué).
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
idp_saml2: make list of an iterator (#43038)