Problem/Motivation

At the moment both the successful messages for the following:
- Cart::requestOperationMultiple: https://git.drupalcode.org/project/tmgmt_xtm/-/blob/8.x-5.x/src/Plugin/t...
- Cart::requestOperation: https://git.drupalcode.org/project/tmgmt_xtm/-/blob/8.x-5.x/src/Plugin/t...

are fixed and hard generated inside those methods, and out putting the following outcome:

'The batch form has been submitted successfully.'

This is incorrect, because those methods are (opportunely) Public and are not strictly depending from the Batch processes invoked by the User Action formSubmit ... They could be indeed be invoked by some custom code, without passing from the UX Cart submission.

Proposed resolution

Correct the successful default messages is something like:
"The Translations request have been submitted successfully"

CommentFileSizeAuthor
#4 tmgmt_xtm_cart_messages_3214328_#4.patch998 bytesitamair

Comments

itamair created an issue. See original summary.

itamair’s picture

Title: Make more relevant and extendable messages for successfull Translations requests » Make more relevant and extendable Cart messages
itamair’s picture

Title: Make more relevant and extendable Cart messages » Better messages for Cart successful Translations requests
Issue summary: View changes
itamair’s picture

StatusFileSize
new998 bytes

The attached patch simply changes the messages for Cart successful Translations in the proposed way.

  • itamair authored 07b2598 on 8.x-5.x
    Issue #3214328 by itamair: Better messages for Cart successful...
pjassem’s picture

Status: Active » Fixed

Thx Italo!
Your patch is the development branch and will be released in the next version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.