You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then check the profiler and you see TWO emails ... 1 queued and 1 sent.
Possible Solution
I suppose this could be correct, it's queued to the bus and then sent, but do we consider this a bug in the profiler that says that there are 2 emails? maybe a solution is to remove the reporting of a queued email if it then went on to be sent.
If this is all expected behaviour and Im creating noise and false bug reports then thats cool too - Im sorry, let's just close this. At least it proves Im testing 6.2 ;-)
I'm running into a similar issue but in tests. Looks like this is an issue with the profiler when mailer and messenger component is installed.
For that the default messenger need to be a sync bus, what confused me more is that I don't have any message_bus configured it is still framework.mailer.message_bus: null configured.
Symfony version(s) affected
6.1/6.2 tested
Description
@chalasr I can now reproduce this - but I dont know if we consider this a bug - or correctly reporting what "happened".
Forked from #47992 (comment)
How to reproduce
(no manual configuration of messenger, just install it with composer req!)
and then send an email in the BlogController::index function (for the fun of it)
Then visit the blog route in a browser..
Then check the profiler and you see TWO emails ... 1 queued and 1 sent.
Possible Solution
I suppose this could be correct, it's queued to the bus and then sent, but do we consider this a bug in the profiler that says that there are 2 emails? maybe a solution is to remove the reporting of a queued email if it then went on to be sent.
If this is all expected behaviour and Im creating noise and false bug reports then thats cool too - Im sorry, let's just close this. At least it proves Im testing 6.2 ;-)
Additional Context
Forked from #47992 (comment)
The text was updated successfully, but these errors were encountered: