From: Pawel T. <pto...@me...> - 2014-09-05 13:12:47
|
W dniu 05.09.2014 14:52, Pawel Tomulik pisze: > Hi, > > Oliver told me, that yaml configuration for workflows is being developed: > > https://openxpki.readthedocs.org/en/latest/reference/configuration/workflow.html > > In the meantime I've managed to "enchance" a dead stuff (workflow *.xml > configuration) in a way which breaks existing installations > (https://github.com/openxpki/openxpki/pull/225). The goal was to provide > more translations to workflow, and to achieve this I've massively > changed action names in XMLs from the 'short_ones' to > 'I18N_OPENXPKI_WF_ACTION_SHORT_ONES'. > > After priv discussion with Oliver I agree that this PR should be > rejected. Anyway, in the meantime I've got an idea of how this work > could be utilised without breaking things. The idea is to simply map > internally current 'action_names' to I18N_ tokens without altering the > configuration (and database). So it would only require change to perl > code, where I would put a hash for mapping the names and it would be > used anytime the XML configuration is used (or action label is not > provided by the configuration). > > Does it make sense to you? If so, then please give me a hint how to > detect in the perl modules that old XML is used? > > > TIA > > Regards! > > -- Paweł Tomulik OMG! wrong mailing list. PLS ignore/remove :) -- Paweł Tomulik |