Development #70109
changement de workflow de "inconnu" vers un workflow existant, échec "status mapping is required if there are formdatas"
Début:
11 octobre 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
Exception: type = '<class 'AssertionError'>', value = 'status mapping is required if there are formdatas' Stack trace (most recent call first): File "/home/fred/src/eo/wcs/wcs/formdef.py", line 1986, in change_workflow 1984 formdata_count = self.data_class().count() 1985 if formdata_count: > 1986 assert status_mapping, 'status mapping is required if there are formdatas' 1987 assert all( 1988 status.id in status_mapping for status in old_workflow.possible_status locals: formdata_count = 7 new_workflow = <Workflow 'Par défaut' id:_default> old_workflow = <Workflow 'Inconnu' id:_unknown>
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 7 mois
- Statut changé de Nouveau à En cours
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/678
- Titre : WIP: forms: allow remapping from unknown workflow (#70109)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/678/files
Mis à jour par Robot Gitea il y a 6 mois
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 6 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/678
- Titre : forms: allow remapping from unknown workflow (#70109)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/678/files
Mis à jour par Transition automatique il y a 6 mois
- Statut changé de Résolu (à déployer) à Solution déployée
forms: allow remapping from unknown workflow (#70109)