"Use of uninitialized value $attachbase"

Bug #419335 reported by Bryce Harrington
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bugzilla (Ubuntu)
Fix Released
Undecided
Raphael Bossek

Bug Description

Binary package hint: bugzilla

I'm getting emails about an undefined value in bugzilla, following a recent karmic update

From: Anacron <email address hidden>
To: <email address hidden>
Subject: Anacron job 'cron.daily' on chideok

/etc/cron.daily/bugzilla3:
Use of uninitialized value $attachbase in string ne at /usr/share/perl5/Bugzilla/Util.pm line 290.
Use of uninitialized value $attachbase in string ne at /usr/share/perl5/Bugzilla/Util.pm line 290.
Use of uninitialized value $attachbase in string ne at /usr/share/perl5/Bugzilla/Util.pm line 290.
Use of uninitialized value $attachbase in string ne at /usr/share/perl5/Bugzilla/Util.pm line 290.
Use of uninitialized value $attachbase in string ne at /usr/share/perl5/Bugzilla/Util.pm line 290.

Revision history for this message
Bryce Harrington (bryce) wrote :
Revision history for this message
Ken Foskey (foskey) wrote :

Appeared in Karmic release.

Patch can be shortened to simply remove ne ''

from: return ($attachbase ne ''
to: return ($attachbase

Raphael Bossek (bossekr)
Changed in bugzilla (Ubuntu):
status: New → In Progress
Raphael Bossek (bossekr)
Changed in bugzilla (Ubuntu):
assignee: nobody → Raphael Bossek (bossekr)
Revision history for this message
Raphael Bossek (bossekr) wrote : More information required

Hi Bryce,

which version of bugzilla are you using ? I'm not able to reproduce the problem here. Applying your patch result in errors starting /usr/share/bugzilla3/lib/checksetup.pl.

Greetings,
Raphael

Revision history for this message
Bryce Harrington (bryce) wrote :

Sorry I ended up just uninstalling bugzilla. According to apt, this is the version it would install if I were to reinstall:

$ apt-cache madison bugzilla
  bugzilla | 3.2.4.0-3ubuntu1 | http://archive.ubuntu.com karmic/universe Sources

If you think the issue is not relevant for the current bugzilla version you can go ahead and close out this bug report.

Raphael Bossek (bossekr)
Changed in bugzilla (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.