Bug #3306

RCP: "send to" commands leads to wrong UUID/node path and persisted filenames

Ajouté par Sebastien Jacquot il y a presque 3 ans. Mis à jour il y a presque 3 ans.

Statut:New Début:27/10/2022
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:UI / Link / Command Temps passé: -
Version cible:TXM 0.X.X

Description

All "Send to" commands have a different node path schema since we do not know the target class in the source handler.
The class string is at this moment replaced with "_link".
ex. when sending lines from Index to Progression we have:
Preference node qualifier = txm_res_20221027_154128198_0001_link
Persisted file name = txm_res_20221027_154128198_0001_link.prefs
instead of :
Preference node qualifier = txm_res_20221027_154128198_0001_Progression
Persisted file name = txm_res_20221027_154128198_0001_Progression.prefs

A solution could be to define a string in node path name created in source handler that must be replaced when creating the new result in target command.
eg. txm_res_20221027_154128198_0001_CLASSNAME
The replacement could be done in TXMResult constructor.
It's not a very good solution but should work.

Historique

#1 Mis à jour par Sebastien Jacquot il y a presque 3 ans

  • Sujet changé de RCP: "send to" commands à RCP: "send to" commands leads to wrong UUID/node path and persisted filenames

Formats disponibles : Atom PDF