I think this error started to appear after DB:TNG patch.

ERROR: null value in column "image" violates not-null constraint.

Comments

mustafau’s picture

Priority: Normal » Critical

Critical because aggregator is not working without this.

ztyx’s picture

StatusFileSize
new108.02 KB

I also experienced this bug. Drupal crashed when running cron (see attached file for screenshot).

I can also confirm that this patch fix the problem.

Anonymous’s picture

ztyx’s picture

No, it's not. The error message they are talking about in #201427: Field 'description' doesn't have a default value query is very different from the one we are getting. Infact we are getting a crash while they seem to be getting an warning. This bug makes Drupal unusable while the other one seem to still make it usable. Also, this bug is triggered when cron is run, and theirs is triggered when adding a feed.

damien tournoud’s picture

Status: Needs review » Reviewed & tested by the community

This error appeared when we switched to MySQL strict mode.

The patch itself is good.

No specific tests are needed: #243532: Catch notices, warnings, errors and fatal errors from the tested side catches that error.

dries’s picture

Status: Reviewed & tested by the community » Needs work

There should be a SimpleTest for this, shouldn't there? It is odd that this isn't catched by the existing tests. Let's make sure to correct that.

Anonymous’s picture

@Dries: I thought the same thing but then I noticed Damien's last sentence in #5.

ztyx’s picture

Are there tests just doing a plain cron run? This error would have been caught in such a test.

chx’s picture

Issue tags: +Novice

Is this still an issue? I am marking novice in hope someone checks whether it is. Fixing might not be a novice thing.

mustafau’s picture

Status: Needs work » Fixed

This was fixed by another patch.

Status: Fixed » Closed (fixed)
Issue tags: -Novice

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