Problem/Motivation
When a editor visits a revision page for a node, the site gives the following error:
TypeError: Argument 1 passed to Drupal\siteimprove\SiteimproveUtils::getEntityUrls() must implement interface Drupal\Core\Entity\EntityInterface or be null, string given, called in modules/contrib/siteimprove/siteimprove.module on line 25
Steps to reproduce
As a user who can access both the Siteimprove and Node revisions, attempt to view the a singular revision.
Proposed resolution
Adjust call in siteimprove_toolbar() to check with how a revision page route handles nodes.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3186609-01.patch | 624 bytes | drieder |
Comments
Comment #2
drieder commentedComment #3
drieder commentedComment #4
shawn dearmond commentedYou're my savior dude! Thank you so much for this patch, it saved by butt today!
Comment #6
beltofteThanks guys for reporting and solving this issue. I have committed the patch and tagged a 8.x-1.9 release.