Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | panelizer-workbench-moderation-2039025-1.patch | 626 bytes | wbobeirne |
Comments
Comment #1
wbobeirne CreditAttribution: wbobeirne commentedComment #2
jedihe CreditAttribution: jedihe commentedPatch 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 .
Comment #3
malcomio CreditAttribution: malcomio commentedAs per comment 2, this seems like a duplicate of #1402860: Panelizer is incompatible with moderation