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
MR #47 for issue #44 incidentally also fixed calling deleted entity
references in the 'drupal way'™ by checking that they exist before
calling them. The module does however already provide update hooks for
pages, as described in #6 and mentioned in #31 (comment)
so completism we should also make a hook_delete to remove them from the
references?
Not sure of specific steps to reproduce yet, but on Lambeth live site, one of the guid pages got into a twist.
The page would not load, generating this error.
Editing and saving the node resolved the issue.
Debugging locally revealed that this line was choking:
https://github.com/localgovdrupal/localgov_guides/blob/master/src/Plugin/Block/GuidesPrevNextBlock.php#L26
$next_url = $this->guidePages[0]->toUrl();
The guidePages[0] did not exist, but guidePages[1] did!.
So I wonder if maybe this is a case of adding guide pages then removing them causing some internal logic confiusion.
Or maybe caching?
The text was updated successfully, but these errors were encountered: