|
Hi!
I've modified the workflow "workspace_folder_wf" to change the action taken by the transition "translate" and I've noticed once this is done, scripts after and before don't execute.
I tested it doing this:
1.- Modify script "add_language_to_proxy" (placed in workspace_folder_wf) so that its execution results in an error. For example, adding the line: "thisIsAnError.Sure". This will produce the error we want as it won't find "thisIsAnError" object. After this step, any try to translate a workspace results in the expected error. 2.- Modify formatted URL of the transition from "%(content_url)s/content_translate_form" to "%(content_url)s/reconfig_form" The action of portal reconfiguration can be taken without problems. I thought scripts after and before would execute regardless of the URL but they don't.
Is there anything else that should be taken into account? (I know there is, but I don't know what J)
Thank you very much.
JoseLuis de la Rosa
Triviño
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE. This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.
|
_______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
