Closed (duplicate)
Project:
Email Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2007 at 14:42 UTC
Updated:
15 Apr 2008 at 11:42 UTC
Greetings,
When creating a not required email field for any CCK node type in PostgreSQL field_com_email_email varchar(255) NOT NULL column is created in the corresponding table.
This causes a database not null constraint upon submitting the node form (when adding) with empty email field.
You should either remove NOT NULL or add DEFAULT clause into the database field definition.
Thank you.
Comments
Comment #1
mh86 commentedduplicated, see http://drupal.org/node/146886