Bug #7239
PicklingError: Can't pickle <class 'wcs.formdef.Test-Inscriptions'>: it's not the same object as wcs.formdef.Test-Inscriptions
Début:
13 mai 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 9 ans
- Fichier 0001-tests-add-counter-tests-mimicking-real-life-situatio.patch 0001-tests-add-counter-tests-mimicking-real-life-situatio.patch ajouté
- Fichier 0002-formdata-restore-formdef-class-in-sys.modules-namesp.patch 0002-formdata-restore-formdef-class-in-sys.modules-namesp.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Il y a de quoi reproduire l'erreur dans le premier patch, et la correction et son explication dans le second patch.
Mis à jour par Frédéric Péters il y a presque 9 ans
- Statut changé de En cours à Résolu (à déployer)
commit 345720c1a50e332bb63a8ae527bae355693ead24 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed May 13 16:35:47 2015 +0200 tests: add "counter" tests mimicking real life situation commit 1c4a9f7cdef778733f41d4391781cf13e291abb1 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed May 13 16:36:18 2015 +0200 formdata: restore formdef class in sys.modules namespace before saving (#7239)
formdata: restore formdef class in sys.modules namespace before saving (#7239)