core icon indicating copy to clipboard operation
core copied to clipboard

Translation Workflow does not create new page version in other language(s)

Open shaydotcms opened this issue 10 years ago • 2 comments

Related to #9037 If the Translation Workflow Action is configured to translated text fields, this workflow should create a new page version in other language(s) from the original page.

Steps to reproduce:

  1. Generate the jar file "plugin-dotcms-actionlet-google-translate-0.1.jar”
  2. Login to Dotcms and upload the jar file in Dynamic Plugins portlet:
8cc03584-b89c-4a6c-a19a-f12c0c1dc55a
  1. Now navigate to Content Types> Workflow Schemes
  2. Click on Default Scheme
  3. Inside Initial State, create a new Workflow Action “Translation_test" and hit Save
  4. Now Add the Sub-action “Translate Content" such as below and hit Save:
986dc94a-e319-425b-8b79-2ecdfdfb4556
  1. Click Translate Content to verify it’s set to translate text fields:
5e168ed7-7dc9-43c1-836b-e357ec671440
  1. Create a new test Page Asset
  2. Execute Translation_test workflow:
1f7ac944-822d-41b7-a668-42e0eec7c33c
  1. Currently you will get a “null” message in the logs:

ERROR ajax.ContentletAjax: null Complete stacktrace: https://gist.github.com/shaydotcms/8a01eaff98d41ab83d5386ae4cb9a122 4b402fee-c6f5-4b0f-9879-39120479bfe8

Tested locally in: master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox

shaydotcms avatar Jun 28 '16 16:06 shaydotcms

Fixed here: https://github.com/dotCMS/core/issues/9262

dsilvam avatar Jun 29 '16 20:06 dsilvam

Passed QA. Translation Workflow creates new page version in language(s) available in dotcms Tested locally in: master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox

shaydotcms avatar Jul 06 '16 15:07 shaydotcms