core
core copied to clipboard
Translation Workflow does not create new page version in other language(s)
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:
- Generate the jar file "plugin-dotcms-actionlet-google-translate-0.1.jar”
- Login to Dotcms and upload the jar file in Dynamic Plugins portlet:
- Now navigate to Content Types> Workflow Schemes
- Click on Default Scheme
- Inside Initial State, create a new Workflow Action “Translation_test" and hit Save
- Now Add the Sub-action “Translate Content" such as below and hit Save:
- Click Translate Content to verify it’s set to translate text fields:
- Create a new test Page Asset
- Execute Translation_test workflow:
- Currently you will get a “null” message in the logs:
ERROR ajax.ContentletAjax: null
Complete stacktrace: https://gist.github.com/shaydotcms/8a01eaff98d41ab83d5386ae4cb9a122

Tested locally in: master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox
Fixed here: https://github.com/dotCMS/core/issues/9262
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