SQL error when creating a nodereferer CCK field with multiple possible values

zmove - April 6, 2009 - 07:22
Project:NodeReferrer
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I created a nodereferer in one content type with only one possible value : no problem.

But when I edit the nodereferer field to choose multiple values in the options, I get an sql error :

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') SELECT vid, nid, 0, FROM content_type_problematique' at line 1 query: INSERT INTO content_field_solution_referer (vid, nid, delta, ) SELECT vid, nid, 0, FROM content_type_problematique in /www/sites/all/modules/cck/includes/content.admin.inc on line 1506.

Any suggestions to fix it ?

#1

digitisation - April 6, 2009 - 17:09

same here under same conditions

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') SELECT vid, nid, 0, FROM content_type_show' at line 1 query: INSERT INTO content_field_venues (vid, nid, delta, ) SELECT vid, nid, 0, FROM content_type_show in xxx\sites\all\modules\cck\includes\content.admin.inc on line 1506.

i had used 5x version recently with mulitple referrers and didnt get this problem

thanks

#3

andypost - April 9, 2009 - 14:45
Status:active» fixed

Fixed http://drupal.org/cvs?commit=194918

#4

System Message - April 23, 2009 - 14:50
Status:fixed» closed

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

#5

kenorb - May 21, 2009 - 12:49

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.