Project

General

Profile

Development #43038

TypeError: unsupported operand type(s) for +=: 'IterableFactory' and 'list'

Added by sentry io about 1 month ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
18 May 2020
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

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/

0001-idp_saml2-make-list-of-an-iterator-43038.patch View (1.02 KB) Benjamin Dauvergne, 18 May 2020 08:20 PM

Associated revisions

Revision 484ed13a (diff)
Added by Benjamin Dauvergne about 1 month ago

idp_saml2: make list of an iterator (#43038)

History

#1 Updated by Frédéric Péters about 1 month ago

  • Project changed from Suivi des traces to Authentic 2

#2 Updated by Benjamin Dauvergne about 1 month ago

  • Assignee set to Benjamin Dauvergne

#3 Updated by Benjamin Dauvergne about 1 month ago

#4 Updated by Paul Marillonnet about 1 month ago

  • Status changed from Solution proposée to Solution validée

Ok.

#5 Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Solution validée to 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)

#6 Updated by Serghei Mihai about 1 month ago

Ce patch devrait aller en hotfix, cf #43283.

#8 Updated by Frédéric Péters about 1 month ago

Bof, c'est un écran où personne normalement ne va; ça peut pour moi attendre trois jours.

#9 Updated by Frédéric Péters about 1 month ago

Par contre s'assurer que ça soit en recette, pour que ça passe en prod, ça oui.

#11 Updated by Serghei Mihai about 1 month ago

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é).

#12 Updated by Frédéric Péters about 1 month ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF