-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
Description
When you submit a Batch which executions hasn't started yet, the Cancel Submission action should abort the Batch submission, but instead of it, it crashed with the error:
info.magnolia.commands.MgnlCommand: Starting cancel the submission...
info.magnolia.translation.ext.provider.translationscom.translator.TranslationsComTranslator: Initializing connection to GlobalLink
info.magnolia.translation.ext.provider.translationscom.translator.TranslationsComTranslator: Cannot cancel submission ticket [null] . Client received SOAP Fault from server: Submission id parameter must be specified. Please see the server log to find more detail regarding exact cause of the failure.
info.magnolia.commands.MgnlCommand: Cannot cancel the submissionId : [null]
After this error, the Batch successfully gets submitted.
Steps to reproduce
- Start a Magnolia instance which has CSTX installed
- Go to Pages app and select a page which is i18n
- Clic on action "Add to translation Batch"
- Fulfill and save the dialog
- Open Translation Extended app
- Select the batch created on the step 4 and click on the action Submit Batch
- Click on Cancel submission action
Expected results
The Batch submission is canceled
Actual results
The Batch submission is not canceled and it finishes successfully
Workaround
N/A
Development notes
N/A