Projet

Général

Profil

Bug #42239

rendu /inspect de workflow d'une action "création d'une demande"

Ajouté par Frédéric Péters il y a presque 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
29 avril 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Aujourd'hui :

Correspondances vers les champs de la nouvelle demande : [<wcs.wf.create_formdata.Mapping object at 0x7fa455f6f8d0>, <wcs.wf.create_formdata.Mapping object at 0x7fa455f6fcf8>, <wcs.wf.create_formdata.Mapping object at 0x7fa455f6fc88>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440e320>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440e048>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440eeb8>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440e128>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440ee80>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440edd8>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440e1d0>, <wcs.wf.create_formdata.Mapping object at 0x7fa45440e4e0>]


Fichiers

Révisions associées

Révision 411ed671 (diff)
Ajouté par Lauréline Guérin il y a presque 4 ans

workflows: mappings display in inspect view (#42239)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 4 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Frédéric Péters il y a presque 4 ans

En zappant les noms des classes, juste Thématique -> 42, Nom -> {{form_user_var_last_name }}, etc.

Ou en mettant ça dans une vraie liste HTML, mais là ça demande sans doute davantage de changements,

En regardant rapidement, une méthode get_mappings_parameter_view_value, appelée via get_parameter_view_value, et gérer là que le retour est en htmltext (l'équivalent quixote du SafeText), et le retourner ainsi.

#5

Mis à jour par Frédéric Péters il y a presque 4 ans

Yes, très bien ainsi.

#6

Mis à jour par Lauréline Guérin il y a presque 4 ans

#7

Mis à jour par Frédéric Péters il y a presque 4 ans

  • Statut changé de Solution proposée à Solution validée

Ok, je n'imaginais pas get_parameter_view_value déjà accepter l'htmltext, super.

#8

Mis à jour par Lauréline Guérin il y a presque 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 411ed6711816ddf9b85e05f2164b78a56106b60a
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Jun 22 16:39:41 2020 +0200

    workflows: mappings display in inspect view (#42239)
#9

Mis à jour par Frédéric Péters il y a presque 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF