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.

CommentFileSizeAuthor
#2 panelizer-n2408301-1.patch1.52 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

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

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
1.52 KB

In my testing this appears to work.

DamienMcKenna’s picture

kepford’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies and resolves the issue for me.

DamienMcKenna’s picture

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks for the review, kepford.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.