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.
Update is not working, getting the following error
Drupal 7.44
Postgress 9.3 with a database prefix
Performed update: panelizer_update_7114 [ok]
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "did" violates not-null constraint
DETAIL: Failing row contains (null, radix_sutro, a:0:{},a:1:{s:14:"style_settings";a:6:{s:7:"default";N;s:3:"top";N;s:4:...,a:0:{}, %node:title, 1, 0, 9a886a06-512b-4f17-bd71-497d1e758f2a, , ).
Performed update: panelizer_update_7115 [ok]
Comment | File | Size | Author |
---|---|---|---|
#4 | i2785793-4.patch | 874 bytes | attiks |
#3 | i2785793-3.patch | 533 bytes | attiks |
|
Comments
Comment #2
attiks CreditAttribution: attiks at Attiks commentedOffending code in function
panelizer_update_7115(&$sandbox) {
And did is defined as
So inserting NULL isn't working
Comment #3
attiks CreditAttribution: attiks at Attiks commentedPatch removing the NULL insert
Comment #4
attiks CreditAttribution: attiks at Attiks commentedFound another one
Comment #5
attiks CreditAttribution: attiks at Attiks commentedFYI patch in #4 is working for us
Comment #6
DamienMcKennaThanks attiks, I appreciate it, and I'm sorry about letting that bug slip through.
I fixed the module's tests so drupalci can run these tests.
Comment #7
DamienMcKennaComment #8
DamienMcKennaSo... 14 failures? :(
Comment #9
DamienMcKennaRerunning.
Comment #10
DamienMcKennaI didn't have any branch tests for Panelizer on PostgreSQL, so I've turned them on to see how it's doing.
Comment #11
DamienMcKennaThe branch tests are failing with 14 errors, so lets move this problem into another issue: #2785923: Fix PostgreSQL compatibility
Comment #12
DamienMcKennaCommitted. Thanks. Lets move to #2785923 for other problems with PostgreSQL.