Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:

# Make Drupal 10 compatible
composer --working-dir=drupal --no-interaction require psr/http-message:^1.0
composer --working-dir=drupal --no-interaction require 'mglaman/composer-drupal-lenient'
composer --working-dir=drupal --no-interaction require 'mglaman/composer-drupal-lenient':'^1.0'
composer --working-dir=drupal config --no-plugins --merge --json extra.drupal-lenient.allowed-list '["drupal/coc_forms_auto_export", "drupal/webform_node_element"]'

# Require our module.
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ about writing changes to this log.

## [Unreleased]

## [2.1.1] 09.04.2026

* Ensured static strings as first argument for logging calls.

## [2.1.0] 11.12.2025

* Allowed `os2forms/os2forms` `5.x`.
Expand Down Expand Up @@ -77,7 +81,8 @@ about writing changes to this log.

## [1.0.0] 29.03.2023

[Unreleased]: https://github.com/OS2Forms/os2forms_get_organized/compare/2.1.0...HEAD
[Unreleased]: https://github.com/OS2Forms/os2forms_get_organized/compare/2.1.1...HEAD
[2.1.1]: https://github.com/OS2Forms/os2forms_get_organized/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/OS2Forms/os2forms_get_organized/compare/2.0.1...2.1.0
[2.0.1]: https://github.com/OS2Forms/os2forms_get_organized/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/OS2Forms/os2forms_get_organized/compare/1.4.1...2.0.0
Expand Down
6 changes: 3 additions & 3 deletions src/Plugin/AdvancedQueue/JobType/ArchiveDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ public function process(Job $job): JobResult {

try {
$this->helper->archive($payload['submissionId'], $payload['handlerConfiguration']);
$this->submissionLogger->notice($this->t('The submission #@serial was successfully delivered', ['@serial' => $webformSubmission->serial()]), $logger_context);
$this->submissionLogger->notice('The submission #@serial was successfully delivered', ['@serial' => $webformSubmission->serial()] + $logger_context);

return JobResult::success();
}
catch (\Exception $e) {
$this->submissionLogger->error($this->t('The submission #@serial failed (@message)', [
$this->submissionLogger->error('The submission #@serial failed (@message)', [
'@serial' => $webformSubmission->serial(),
'@message' => $e->getMessage(),
]), $logger_context);
] + $logger_context);

return JobResult::failure($e->getMessage());
}
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/WebformHandler/GetOrganizedWebformHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function postSave(WebformSubmissionInterface $webform_submission, $update
'operation' => 'submission queued',
];

$this->submissionLogger->notice($this->t('Added submission #@serial to queue for processing', ['@serial' => $webform_submission->serial()]), $logger_context);
$this->submissionLogger->notice('Added submission #@serial to queue for processing', ['@serial' => $webform_submission->serial()] + $logger_context);
}

/**
Expand Down
Loading