When creating a rest resource that sends an sms using the module, the following exception appears when receiving a response from the resource:
A fatal error occurred: The controller result claims to be providing relevant cache metadata, but leaked metadata was detected. Please ensure you are not rendering content too early. Returned object class: Drupal\\rest\\ResourceResponse.
Similarly to how
#2630808: Response::getResponse() does not collect cacheability metadata from Url object →
solved it, the Url generated should collect bubbleable metadata in SmsMessageProcessor::deliveryReportUrl()
.
Closed: outdated
1.0
Core Framework
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.