Projet

Général

Profil

Bug #6784

Old session: 'global_block' key not found

Ajouté par Jérôme Schneider il y a environ 9 ans. Mis à jour il y a environ 9 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

When you upgrade authentic. Old sessions doesn't work and cause a traceback in get_connection function : 'global_block' key not found.


Fichiers

Révisions associées

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

ldap: update block saved in LDAP users objects with default values (#6784)

If a session is older thant the last upgrade then it can happend that
user.block miss keys which are now mandatory and have a default value.
To be sure those keys exist we update the block with default value each
time it is used, i.e. in LDAPUser.get_connection().

Historique

#1

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

  • Version cible mis à 2.1.13
#2

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

#3

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

  • Statut changé de Nouveau à Fermé

Formats disponibles : Atom PDF