Development #46587
Suppression d'un workflow lié à un CardDef
Début:
11 septembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Lorsqu'on supprime un workflow via le backoffice, on vérifie qu'il n'est pas utilisé par un FormDef et on empêche la suppression dans ce cas-là.
On devrait aussi vérifier si le workflow n'est pas utilisé par un CarDef.
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a plus de 3 ans
- Fichier 0002-admin-check-also-linked-CardDef-when-deleting-a-work.patch 0002-admin-check-also-linked-CardDef-when-deleting-a-work.patch ajouté
- Fichier 0001-misc-split-test-module.patch 0001-misc-split-test-module.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
ok, si tu veux tu peux changer en itertools.chain(...) pour anticiper le jour et ça retournera un itérateur.
Mis à jour par Lauréline Guérin il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit f24963ed050b2b912d13249382a89f9ece2db703 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Mon Sep 14 11:37:04 2020 +0200 admin: check also linked CardDef when deleting a workflow (#46587) commit a1c510fbe2f1ff56b706665a2c1e001d3162455a Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Sep 11 16:15:33 2020 +0200 misc: split test module
avec la modif demandée
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
admin: check also linked CardDef when deleting a workflow (#46587)