Printable breaks node revisions preview

Created on 4 February 2019, over 6 years ago
Updated 7 August 2025, 6 days ago

Printable breaks the preview of the node revision.

How can you reproduce the bug?

  1. Activate node revisions for one content type
  2. Make content changes on a simple node and go to the node revisions pages
  3. Clic on a revision title to preview the changes and it will show you an error 500.

Error 500:

Got error 'PHP message: TypeError: Argument 1 passed to Drupal\\printable\\PrintableLinkBuilder::buildLinks() must implement interface Drupal\\Core\\Entity\\EntityInterface or be null, string given, called in /var/www/xxxxxxxx/public/modules/contrib/printable/src/Plugin/Block/PrintableLinksBlock.php on line 135 in /var/www/xxxxxxxx/public/modules/contrib/printable/src/PrintableLinkBuilder.php on line 51

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇪🇸Spain aperedos Zaragoza

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024