In both webform 5.x-1.9 and 5.x-1.x-dev when i attempt to create a form with more than one field, when I click "Submit" to save the form I get the following error message:

user warning: Duplicate entry '253-65535' for key 1 query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight) VALUES (253, 1205413820, 0, 'markup_1', 'Markup 1', 'markup', 'mark down', 'a:1:{s:6:\"format\";s:1:\"4\";}', 0, 0) in /home/content/a/n/s/answerjam/html/test/includes/database.mysql.inc on line 172.

The simplest case is 2 markup fields right under the form root (no fieldset).

Drupal 5.3, PHP 4.3.11, Apache, mySQL 5.0.45

Comments

quicksketch’s picture

This looks like an out-of-date database, either that or a ridiculous number of components (more than 65535 for a single webform). Did you by chance upgrade to the 2.x version then try to downgrade? If so, that'd definitely cause the problem you're experiencing, because the size of the database column was decreased for efficiency.

quicksketch’s picture

Category: bug » support
Status: Active » Closed (fixed)

Closing after lack of response.