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 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.