The node_save that PanelizerEntityNode runs creates a new revision that makes the layout it just saved to the panelizer_entity table out of date. To remedy this issue, I've set the update_live_revision flag to the node before saving, which prevents workbench from saving a revision for just such an occasion. Attached below is a patch that does that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wbobeirne’s picture

Status: Active » Needs review
FileSize
626 bytes
jedihe’s picture

Patch at #1 has an ugly side effect: saving the panelizer display causes that node revision to go live immediately. This is really not wanted behavior.

Anyone looking at this could probably benefit from https://drupal.org/node/1402860#comment-7798913 .

malcomio’s picture

Status: Needs review » Closed (duplicate)

As per comment 2, this seems like a duplicate of #1402860: Panelizer is incompatible with moderation