Issue #3623904 by ivrh: Fix mail queue processing and logger messages

Closes #3623904

Summary

  • Continue preparing later recipients when an earlier user is already being processed.
  • Pass string message templates to the logger so Drupal 11 console logging does not receive TranslatableMarkup.
  • Add regression coverage for mixed recipient batches and all affected success, failure, and persistence-error logging paths.

Testing

  • Coding standards: changed production files pass PHPCS.
  • Unit: 33 tests, 520 assertions.
  • Kernel: 70 tests, 2,352 assertions.
  • Functional: 8 tests, 339 assertions.
  • Downstream Drupal 11.4.4 integration suite: 47 kernel tests, 959 assertions.

Drupal.org issue: https://www.drupal.org/project/entity_activity/issues/3623904

Merge request reports

Loading