Download & Extend

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

Project:NodeReferrer
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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 ?

Comments

#1

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

Status:active» fixed

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

#4

Status:fixed» closed (fixed)

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

#5

Thanks.

nobody click here