Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
8 Oct 2008 at 19:55 UTC
Updated:
14 Jul 2012 at 23:15 UTC
Jump to comment: Most recent
Bug as title. Will generate PDOException message as below:
[Thu Oct 09 00:49:06 2008] [error] [client 192.168.93.21] PHP Fatal error: Uncaught exception 'PDOException' with message 'UPDATE {aggregator_feed} SET url = ?, checked = ?, link = ?, description = ?, image = ?, hash = ?, etag = ?, modified = ? WHERE fid = ? - \nArray\n(\n [0] => http://192.168.93.21/projects/benchmarking/drupal-7.x-dev/rss.xml?feed=simpletest_aggregator_cpOLbze3WP\n [1] => 1223484545\n [2] => http://192.168.93.21/projects/benchmarking/drupal-7.x-dev\n [3] => \n [4] => \n [5] => a5323f875483d5b5949e9cf6d65b242c\n [6] => \n [7] => 1223484545\n [8] => 1\n)\nSQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "image" violates not-null constraint' in /var/www/projects/drupal/drupal-7.x-dev/includes/database/pgsql/database.inc:72\nStack trace:\n#0 /var/www/projects/drupal/drupal-7.x-dev/includes/database/database.inc(1197): DatabaseConnection_pgsql->query('UPDATE {aggrega...', Array, Array)\n#1 /var/www/projects/drupal/drupal-7.x-dev/modules/aggregator/aggregator.module(639): db_query('UPDATE {aggrega...', 'http://192.168....', 1223484545, 'htt in /var/www/projects/drupal/drupal-7.x-dev/includes/database/pgsql/database.inc on line 72
| Comment | File | Size | Author |
|---|---|---|---|
| aggregator_feed-image-null-1223495674.patch | 846 bytes | hswong3i |
Comments
Comment #1
hswong3i commentedP.S. Patch tested with MySQL and PostgreSQL, running with simpletest and both pass without error message.
Comment #2
Anonymous (not verified) commentedMakes sense.
Comment #3
webchickCommitted to HEAD. Thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.