The update function introduced in #2354437: New revisions should always clone a custom display uses drupal_write_record. In update functions the DB schema might not be loaded, so db_update should be used instead.

It gave me problems with serialized values in the panelizer_entity table in the fields contexts and relationships, so panelized entities with either set went down in flames because the values in the fields could not be de-serialized.

The patch attached changes the update function to use db_update.

CommentFileSizeAuthor
panelizer-double-serialized.patch1.09 KBnaxoc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed. Thanks.

  • DamienMcKenna committed 39a445d on 7.x-3.x authored by naxoc
    Issue #2419311 by naxoc: Update 7115 caused double-serialized values to...

Status: Fixed » Closed (fixed)

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