Bug #50013
l'action "formulaire" ne conserve pas son identifiant lors d'exports/imports XML
Début:
10 janvier 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
#4111 a ajouté la gestion de l'export/import de cette action et se faisant :
+ def init_with_xml(self, elem, charset): + WorkflowStatusItem.init_with_xml(self, elem, charset)
ce qui correspondait à la signature de WorkflowStatusItem.init_with_xml à l'époque.
La signature a depuis évolué mais l'appel à la méthode parente pas, ce qui donne aujourd'hui :
def init_with_xml(self, elem, charset, include_id=False, snapshot=False, check_datasources=True): WorkflowStatusItem.init_with_xml(self, elem, charset)
où se perdent les include_id/snapshot/check_datasources.
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Fichier 0001-workflows-do-not-lose-form-action-id-in-XML-export-i.patch 0001-workflows-do-not-lose-form-action-id-in-XML-export-i.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit e15ff7871199d176e4ea904beff7a13389afc291 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sun Jan 10 13:55:28 2021 +0100 workflows: do not lose form action id in XML export/imports (#50013)
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
workflows: do not lose form action id in XML export/imports (#50013)