Development #32040
tests FranceConnect cassés après #31937
Début:
07 avril 2019
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
cf https://jenkins2.entrouvert.org/job/authentic2-auth-fc/202/
src/authentic2_auth_fc/views.py:365: in get self.update_user_info() src/authentic2_auth_fc/views.py:330: in update_user_info utils.apply_user_info_mappings(self.fc_account.user, self.user_info) src/authentic2_auth_fc/utils.py:160: in apply_user_info_mappings setattr(user.attributes, attribute, value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <authentic2.custom_user.models.Attributes object at 0x7fea8bfa4c50> name = 'email', value = 'john.doe@example.com' def __setattr__(self, name, value): atv = self.values.get(name) if atv: atv.attribute.set_value(self.owner, value, verified=bool(self.verified), attribute_value=atv) else: attribute = get_attributes_map().get(name) if not attribute: > raise AttributeError(name) E AttributeError: email
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Fichier 0001-user-fix-hasattr-on-attributes-fixes-32040.patch 0001-user-fix-hasattr-on-attributes-fixes-32040.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Effectivement petit souci avec hasattr().
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 56dd857a39b9db0d301115f7483aca88a0261b30 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Sun Apr 7 16:18:12 2019 +0200 user: fix hasattr() on attributes (fixes #32040)
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|56dd857a39b9db0d301115f7483aca88a0261b30.
Mis à jour par Frédéric Péters il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
user: fix hasattr() on attributes (fixes #32040)