Just trying the new WebForm and I got the following error on MySQL server


Sorry, too busy to create a patch but changing the following line (#820) in webform_update_6308 does the trick:

<code>
<?php
  db_add_field($ret, 'webform_emails', 'excluded_components', array('type' => 'text', 'not null' => TRUE, 'default' => ''));
?>

to

<?php
  db_add_field($ret, 'webform_emails', 'excluded_components', array('type' => 'text', 'not null' => TRUE));
?>

I guess that your aware of this one, but FYI, here are some relevant links

http://dev.mysql.com/doc/refman/5.1/en/data-type-defaults.html
http://drupal.org/node/195169

sorta related

http://drupal.org/node/43316

CommentFileSizeAuthor
#1 webform_update_6308_fix.patch831 bytesquicksketch

Comments

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new831 bytes

Thanks, I must've included that from another column that was a varchar. All the other updates seem like they don't specify a default for text columns already. Committed attached patch.

Status: Fixed » Closed (fixed)

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