Projet

Général

Profil

Development #63199

test_provision_user cassé après #57500 dans authentic

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
25 mars 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://jenkins.entrouvert.org/job/hobo/6054/ , ce build est déclenché par le build authentic avec #57500.

>               assert notify_agents.call_count == 1
E               AssertionError: assert 0 == 1

Fichiers


Demandes liées

Lié à Hobo - Bug #63248: agent authentic : import anachronique aux signaux django_rbacFermé28 mars 2022

Actions

Révisions associées

Révision 7f10b9a2 (diff)
Ajouté par Benjamin Dauvergne il y a environ 2 ans

agent/authentic2: handle signals for soft creation/deletion of roles relations (#63199)

Historique

#1

Mis à jour par Benjamin Dauvergne il y a environ 2 ans

  • Assigné à mis à Benjamin Dauvergne

Je prends.

#2

Mis à jour par Benjamin Dauvergne il y a environ 2 ans

#4

Mis à jour par Emmanuel Cazenave il y a environ 2 ans

  • Statut changé de Solution proposée à Solution validée
def post_soft_delete(self, sender, instance, **kwargs):
   if isinstance(instance, RoleParenting):
       self.add_saved(*list(instance.child.all_members()))

Plutôt self.add

#5

Mis à jour par Benjamin Dauvergne il y a environ 2 ans

Emmanuel Cazenave a écrit :

[...]

Plutôt self.add

Il n'y a pas de fonction Provisionning.add, à quoi fais-tu référence ?

#6

Mis à jour par Benjamin Dauvergne il y a environ 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 7f10b9a2c853ebf6dff17cf0a924a1c5519106ba
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Fri Mar 25 13:31:48 2022 +0100

    agent/authentic2: handle signals for soft creation/deletion of roles relations (#63199)
#7

Mis à jour par Transition automatique il y a environ 2 ans

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

Mis à jour par Paul Marillonnet il y a environ 2 ans

  • Lié à Bug #63248: agent authentic : import anachronique aux signaux django_rbac ajouté
#10

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF