Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I noticed an error when viewing content revisions.
Steps to reproduce:
- Create a piece of content
- Edit and re-save content
- On the content click the 'Revisions' tab
- Click the link for the original revision
- See the following erorr:
The website encountered an unexpected error. Please try again later.
Error: Call to a member function bundle() on string in zen_theme_suggestions_page_alter() (line 47 of themes/zen/zen.theme).
What should happen:
- The user should see the original revision of the content
Cheers
Tom
Comment | File | Size | Author |
---|---|---|---|
#3 | zen_revisioning_bundle-2924892-3.patch | 635 bytes | jds1 |
Issue fork zen-2924892
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
blacklabel_tom CreditAttribution: blacklabel_tom at Reason Digital commentedHi,
As a follow up it looks like:
Is returning the node id rather than the node object as it is expecting.
Cheers
Tom
Comment #3
jds1Here is a patch that a former colleague of mine wrote and I amended a bit. Should get your revisions working fine.
Comment #4
blacklabel_tom CreditAttribution: blacklabel_tom at Reason Digital commentedWorks a treat.
Cheers
Tom
Comment #5
JohnAlbinComment #6
kevans91 CreditAttribution: kevans91 commentedStill hitting this, and the attached patch works fine on our installation as well.