The DefaultSmsProvider::send()
is dispatching the SmsEvents::MESSAGE_OUTGOING_POST_PROCESS
and SmsEvents::MESSAGE_POST_PROCESS
multiple times for each invocation of the ::send() method. This is not consistent with the other post process events in ::queue()
and ::incoming()
where the post process is invoked once per method call.
Move the event dispatching code outside the foreach
loop so it runs only once.
Closed: outdated
1.0
Core Framework
A documentation change is requested elsewhere. For Drupal core (and possibly other projects), once the change has been committed, this status should be recorded in a change record node.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.