Project

General

Profile

Actions

Bug #91391

closed

SMTP encrypt setting migration not always correct

Added by Torben Hansen about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2020-05-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
mail
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The migrate mail SMTP encrypt option does not always migrate the setting correctly. This resulted in exceptions sending emails using SMTP from TYPO3.

I had 3 sites (all v10 but < 10.4.2), where the initial value in LocalConfiguration.php was as shown below:

'transport_smtp_encrypt' => ''

With TYPO3 10.4.2, the migrator introduced in #91070 migrated this setting to:

'transport_smtp_encrypt' => true

The is_string check is not fully sufficient here, since under certain conditions (e.g. migrating from V9.5 to 10.4) the value is always a string. Therefore it should also be checked, if the string is empty and if so, transport_smtp_encrypt should be migrated to false


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91070: SMTP transport 'tls' no longer work supportedClosed2020-04-16

Actions
Actions

Also available in: Atom PDF