When sending panelized nodes via services, the JSON is parsed and the Panelizer object is converted to an array. Rather than try to untangle a fix in services that would handle all use cases, I think the Panelizer module should defensively cast the Panelizer part of the node as an object before trying to save a new revision.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrmikedewolf created an issue. See original summary.

mrmikedewolf’s picture

mrmikedewolf’s picture

FileSize
958 bytes

Re-rolling patch to cast $display as well.

mrmikedewolf’s picture

DamienMcKenna’s picture

Version: 7.x-3.1 » 7.x-3.x-dev
Status: Active » Needs review

Thanks! PS, don't forget to set the issue status to "needs review" after uploading a new patch, that'll make the testbots take a look at it and help confirm there are no regressions.

DamienMcKenna’s picture

Assigned: mrmikedewolf » Unassigned
Parent issue: » #2787147: Plan for Panelizer 7.x-3.5 release

Committed. Thanks!

DamienMcKenna’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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