Bug #55515
KeyError sur accès bloc qui n'existe plus
Début:
12 juillet 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception: type = '<class 'KeyError'>', value = '' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/qommon/storage.py", line 528, in get_filename 526 finally: 527 if fd: > 528 fd.close() 529 if cls._reset_class: 530 o.__class__ = cls locals: cls = <class 'wcs.blocks.BlockDef'> fd = None filename = '/var/lib/wcs/tenants/demarches-ville-caluire.toodego.com/blockdefs/1' ignore_errors = False ignore_migration = False kwargs = {} File "/usr/lib/python3/dist-packages/wcs/qommon/storage.py", line 443, in get 441 filename = os.path.join(cls.get_objects_dir(), fix_key(id)) 442 return cls.get_filename( > 443 filename, ignore_errors=ignore_errors, ignore_migration=ignore_migration, **kwargs 444 ) 445 locals: cls = <class 'wcs.blocks.BlockDef'> filename = '/var/lib/wcs/tenants/demarches-ville-caluire.toodego.com/blockdefs/1' id = '1' ignore_errors = False ignore_migration = False kwargs = {} ... PATH_INFO '/backoffice/forms/blocks/1/'
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 3 ans
- Fichier 0001-backoffice-return-a-404-on-missing-block-55515.patch 0001-backoffice-return-a-404-on-missing-block-55515.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Lauréline Guérin il y a presque 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a presque 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit dc67aa7b1cd14b2b5aed628a6a3a4ef292ab0972 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Jul 12 14:41:54 2021 +0200 backoffice: return a 404 on missing block (#55515)
Mis à jour par Frédéric Péters il y a presque 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
backoffice: return a 404 on missing block (#55515)