Bug #71333
chargement lazy de vieilles evolution - AttributeError: Can't get attribute 'WorkflowCommentPart' on <module 'wcs.workflows'>
Début:
15 novembre 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/97104/
AttributeError: Can't get attribute 'WorkflowCommentPart' on <module 'wcs.workflows' from '/usr/lib/python3/dist-packages/wcs/workflows.py'> (12 additional frame(s) were not displayed) ... File "wcs/formdata.py", line 1480, in get_json_export_dict evo.get_json_export_dict( File "wcs/formdata.py", line 227, in get_json_export_dict for part in self.parts or []: File "wcs/sql.py", line 123, in __bool__ self._load() File "wcs/sql.py", line 119, in __getattribute__ super().__getattribute__('_load')() File "wcs/sql.py", line 115, in _load super().__setitem__(slice(0), pickle.loads(dump))
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus d'un an
- Fichier 0001-sql-use-own-unpickler-to-lazy-load-evolution-parts-7.patch 0001-sql-use-own-unpickler-to-lazy-load-evolution-parts-7.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 plus d'un an
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus d'un an
- Statut changé de Solution validée à Résolu (à déployer)
commit 0d949512a0044178c6022a758e3e65bf9a8999d1 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Nov 15 16:21:27 2022 +0100 sql: use own unpickler to lazy load evolution parts (#71333)
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
sql: use own unpickler to lazy load evolution parts (#71333)