Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
panelizer-devel_generate_pdoexception.patch | 615 bytes | phenaproxima | |
Comments
Comment #2
dsnopekGood catch, thanks! I'll commit next time I'm at my computer
Comment #3
dsnopekGood catch, thanks! I'll commit next time I'm at my computer
Comment #5
dsnopekCommitted! Thanks :-)