Currently, trying to use devel_generate on panelized nodes will produce a PDOException like "SQLSTATE[23000]: Integrity constraint violation: 1048 Column
'panelizer_view_mode' cannot be null".

This is because PanelizerFieldType::generateSampleValue() doesn't provide a value for the view_mode column. Fixed by this patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

phenaproxima created an issue. See original summary.

dsnopek’s picture

Status: Needs review » Reviewed & tested by the community

Good catch, thanks! I'll commit next time I'm at my computer

dsnopek’s picture

Good catch, thanks! I'll commit next time I'm at my computer

  • dsnopek committed 5c614a6 on authored by phenaproxima
    Issue #2664818 by phenaproxima: PanelizerFieldType::generateSampleValue...
dsnopek’s picture

Status: Reviewed & tested by the community » Fixed

Committed! Thanks :-)

Status: Fixed » Closed (fixed)

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