Closed (fixed)
Project:
Advertisement
Version:
6.x-2.1
Component:
ad module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Oct 2009 at 01:51 UTC
Updated:
7 Dec 2009 at 20:10 UTC
Not sure if this is fixed in dev, but I noticed in the 6.x.2.1 (may have been reported, but I couldn't find it).
When you update/insert into ad_channel, if the weight is negative you get (from mysql):
Warning (Code 1264): Out of range value adjusted for column 'weight' at row 1
I think the data type needs to be changed, looks like it is a hodgepodge throughout drupal that people use to store weights, I have seen tinyint and int...hmm...
Comments
Comment #1
jeremy commentedCorrect, weight is using an unsigned int which clearly can't work. Assigning to myself so I remember to fix this when I have time, before the next release.
Comment #2
jeremy commentedFix committed:
http://drupal.org/cvs?commit=293160