Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
poll.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2007 at 22:56 UTC
Updated:
25 Dec 2007 at 14:41 UTC
Got the following page:
============
Page not found
* warning: pg_query() [function.pg-query]: Query failed: ERROR: null value in column "body" violates not-null constraint in /home/maximkr/drupal/includes/database.pgsql.inc on line 155.
* user warning: query: INSERT INTO node_revisions (nid, uid, title, teaser, log, timestamp, format) VALUES (14, 1, 'Do you like X', '* Yes * No ', '', 1197154493, 0) in /home/maximkr/drupal/includes/common.inc on line 3374.
Your Poll has been created.
The requested page could not be found.
=====
Comments
Comment #1
hswong3i commentedSeems can fix by http://drupal.org/node/195169. I face same error when developing Oracle driver.
P.S. As I have apply this "add default value" logic for my personal research project, and test it with
mysql,mysqli,pgsql,pdo_mysqlandpdo_pgsql, with flash new installation. Both of them can create poll correctly without above error message.Comment #2
hswong3i commentedAs tested by Siren, this issue is a real example for http://drupal.org/node/195169. So I mark this issue as duplicated.
Comment #3
bjaspan commentedSubscribe and re-activate.
Comment #4
gábor hojtsyFixed by the patch committed from http://drupal.org/node/195169#comment-655187
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.