Project

General

Profile

Bug #6784

Old session: 'global_block' key not found

Added by Jérôme Schneider about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
19 March 2015
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

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


Files

Associated revisions

Revision 2d8fbdcd (diff)
Added by Benjamin Dauvergne about 8 years ago

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

History

#1

Updated by Benjamin Dauvergne about 8 years ago

  • Target version set to 2.1.13
#3

Updated by Benjamin Dauvergne about 8 years ago

  • Status changed from Nouveau to Fermé

Also available in: Atom PDF