- πΊπΈUnited States glynster
Thanks so much, @yannickbaettig, for your contribution. Your updates have been included in the latest release, 8.1.17, as well as credit!
- Status changed to Fixed
over 1 year ago 12:31am 22 September 2023
When posting to following endpoint /user/lost-password-reset?_format=json, following error is thrown:
LogicException: 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. in Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (line 154 of /var/www/stage.taminatherme.ch.netnode.cloud/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php).
make a post request to /user/lost-password-reset?_format=json with temp_pass, new_pass and name
Because it is a Post request we need to use ModifiedResourceResponse
instead of ResourceResponse
Fixed
8.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks so much, @yannickbaettig, for your contribution. Your updates have been included in the latest release, 8.1.17, as well as credit!