[EXCONTRANS-362] Cancel submit action reports an error in CTSX module Created: 11/Jan/22  Updated: 31/Jan/22  Resolved: 31/Jan/22

Status: Resolved
Project: Content Translation Extended (CTX)
Component/s: None
Affects Version/s: None
Fix Version/s: 3.4.3

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

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

  1.  Start a Magnolia instance which has CSTX installed
  2.  Go to Pages app and select a page which is i18n
  3. Clic on action "Add to translation Batch"
  4. Fulfill and save the dialog
  5. Open Translation Extended app
  6. Select the batch created on the step 4 and click on the action Submit Batch
  7. 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


Generated at Mon Feb 12 00:30:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.