From d2c3eea2d4d3d68a7b2d4e0d4cee1efbf030c86a Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Fri, 23 Oct 2026 13:54:28 +0300 Subject: [PATCH 1/2] Computed twig encryption fix --- CHANGELOG.md | 2 ++ .../src/WebformOs2FormsEncryptSubmissionStorage.php | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1833f6f..29f67d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ before starting to add changes. Use example [placed in the end of the page](#exa ## [Unreleased] +- Computed twig encryption fix + ## [6.1.0] 2026-10-22 - Adding children information to Attachment SBSYS diff --git a/modules/os2forms_encrypt/src/WebformOs2FormsEncryptSubmissionStorage.php b/modules/os2forms_encrypt/src/WebformOs2FormsEncryptSubmissionStorage.php index d23ee15..d135742 100644 --- a/modules/os2forms_encrypt/src/WebformOs2FormsEncryptSubmissionStorage.php +++ b/modules/os2forms_encrypt/src/WebformOs2FormsEncryptSubmissionStorage.php @@ -184,6 +184,15 @@ public function getColumns(?WebformInterface $webform = NULL, ?EntityInterface $ } } + /** + * {@inheritdoc} + * + * Normalizes stringable values before passing them to encryption methods. + */ + protected function encrypt($string, EncryptionProfileInterface $encryption_profile) { + return parent::encrypt((string) $string, $encryption_profile); + } + /** * {@inheritdoc} * From b86c34deda58bf6104163107b64cdd18d2fb4dff Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Tue, 27 Oct 2026 10:57:11 +0100 Subject: [PATCH 2/2] Drupal 11 selvbetjening.aarhuskommune.dk --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77184f5..d5d3649 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +Drupal 11 with all the previous patches merged. + # OS2Forms Change Log