Hi,

I just upgraded one of my Bugzilla servers from 2.20 to 2.20.1 and now I
can't create charts anymore. In the apache error log I see:

chart.cgi: Use of uninitialized value in concatenation (.) or string at
Bugzilla/Chart.pm line 237

It seems the $datefrom is the problem on line 221

[...]
my $datefrom = $dbh->selectrow_array("SELECT MIN(series_date) " .
"FROM series_data " .
"WHERE series_id IN ($series_ids)");
[-> $datefrom = '0000-00-00 00:00:00' ]
$datefrom = &::str2time($datefrom);
[-> $datefrom = uninitialized ]
[...]

So the problem seems to be that some of the records in series_data have
series_date = ' 0000-00-00 00:00:00', this makes the str2time return un
undefined value. If I look in the mysql database I find 104 records of
series_data that have series_date=00... How can this be and what does
it mean?

Nico


--
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22