Needs review
Project:
Workbench Moderation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2013 at 14:27 UTC
Updated:
18 Aug 2015 at 14:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
seanrTurns out it's an interaction with panelizer. One of the invocations of workbench_moderation_node_view() descends from node_build_content(), the other one from ctools_node_content_render_node().
Comment #2
seanrComment #3
seanrI can't find a way around the underlying issue (hook_node_load firing twice due to Panelizer), but the patch works around it by assigning array keys including the node ID and the type of message to the members of the $info_block_messages array. If anyone can come up with a better patch that resolves the root cause, I'm all ears, but this works for me right now. ;-)
Comment #4
damienmckennaDoes it still apply against v7.x-1.x-dev?
Comment #8
widukind commentedThe patch worked for us with the 7.x-1.3 version of this module. However, it does not apply cleanly any more against 7.x-1.x.
Re-rolled the patch and attached it here, please verify.
Comment #9
joewhitsitt#8 Worked for us using latest 7.x-1.x-dev. Applied clean. Tested moving through moderation states on both new and existing content with success.
Comment #12
widukind commentedSeems to have been addressed in Issue #2346551 since.https://www.drupal.org/node/2346551
^ Nevermind, different branch.