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.
I'm not sure this is strictly limited to IPE, but that's the use case I'm running into.
After some recent changes, when saving an entity that does not have a {panelizer_entity} record previously saved, it fails saving a new record when one is created via IPE.
Comment | File | Size | Author |
---|---|---|---|
#2 | panelizer-n2408301-1.patch | 1.52 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThe reason for this is that the logic in hook_entity_update() identifies that the entity is being updated but fails to recognize that the Panelizer display itself has not been saved before.
Comment #2
DamienMcKennaIn my testing this appears to work.
Comment #3
DamienMcKennaComment #4
kepford CreditAttribution: kepford commentedPatch applies and resolves the issue for me.
Comment #5
DamienMcKennaThis is a follow-up for #1798294: Can't edit non-current node revisions.
Comment #6
DamienMcKennaCommitted. Thanks for the review, kepford.