Task #88972

Support Symfony\Component\Mailer\ 4.4

Added by Sebastian Fischer about 1 month ago. Updated about 1 month ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2019-08-18
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

After installing dev-master i get an error in the install tool stating:

Fatal error: Class TYPO3\CMS\Core\Mail\FileSpool contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Mailer\Transport\TransportInterface::getName) in /home/www/dev10/www/public/typo3/sysext/core/Classes/Mail/FileSpool.php on line 38

After having a look into it, it seems as if the following classes are having the same problem too:

\TYPO3\CMS\Core\Mail\FileSpool
\TYPO3\CMS\Core\Mail\MboxTransport
\TYPO3\CMS\Core\Mail\MemorySpool
\TYPO3\CMS\Core\Tests\Unit\Mail\Fixtures\FakeFileSpoolFixture
\TYPO3\CMS\Core\Tests\Unit\Mail\Fixtures\FakeMemorySpoolFixture

History

#1 Updated by Georg Ringer about 1 month ago

  • Status changed from New to Needs Feedback

The core currently uses 4.3 of symfony/mailer and there is no method getName. this has been added 14 days ago with https://github.com/symfony/mailer/commit/f0e242298d96ce906b7b1ada74e739f296792467#diff-3d9edef114c2813f3019b1e8ff7ffe07

which versions do you use? did you do some composer update of core?

#2 Updated by Georg Ringer about 1 month ago

  • Tracker changed from Bug to Task
  • Subject changed from Some Symfony\Component\Mailer\Transport\AbstractTransport based classes missing getName to Support Symfony\Component\Mailer\ 4.4

#3 Updated by Georg Ringer about 1 month ago

  • Status changed from Needs Feedback to Accepted

Also available in: Atom PDF