Jump to:
| Project: | Node clone |
| Version: | 5.x-2.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Using Drupal 5.7, 2.5 version of Node Clone, and Webforms 5.x-2.1.1.
Below is a warning when attempting to clone a Webform node "node/82" (with four Webform fields) to another node:
* user warning: Duplicate entry '82-1' for key 1 query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight, email) VALUES (82, 1, 0, 'name', 'Name', 'textfield', '', 'a:0:{}', 1, 0, 0) in /var/www/ggg.com/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '82-2' for key 1 query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight, email) VALUES (82, 2, 0, 'email', 'E-mail', 'email', '%useremail', 'a:1:{s:5:\"email\";i:0;}', 1, 1, 0) in /var/www/ggg.com/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '82-3' for key 1 query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight, email) VALUES (82, 3, 0, 'page_reference', 'Page reference', 'textfield', '', 'a:1:{s:11:\"description\";s:78:\"If your comment is referring to specific pages in the chapter, please specify.\";}', 0, 2, 0) in /var/www/ggg.com/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '82-4' for key 1 query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight, email) VALUES (82, 4, 0, 'comments', 'Comments', 'textarea', '', 'a:1:{s:4:\"rows\";s:1:\"8\";}', 1, 3, 0) in /var/www/ggg.com/includes/database.mysql.inc on line 172.
The node is cloned, but the Webform fields are not.
Comments
#1
Looks like it's a problem with Webforms:
http://drupal.org/node/279135
Closing issue for now.