Closed Bug 232140 Opened 19 years ago Closed 19 years ago

tests report undefined subroutine &main::trim at BugMail.pm line 67

Categories

(Bugzilla :: Email Notifications, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: myk, Assigned: preed)

References

Details

Attachments

(1 file)

When I run tests on b.m.o I get the following error:

not ok 37 - importxml.pl --ERROR
#     Failed test (t/001compile.t at line 81)
Goto undefined subroutine &main::trim at Bugzilla/BugMail.pm line 67, <NOMAIL>
line 1.
Compilation failed in require at importxml.pl line 68, <NOMAIL> line 1.
BEGIN failed--compilation aborted at importxml.pl line 68, <NOMAIL> line 1.

Other scripts besides importxml.pl also report problems in the same place in
BugMail.pm.  "use Bugzilla::Util" solves the problem.  Not sure if that's the
right solution, though.
Attachment #139860 - Flags: review?(preed)
Attachment #139860 - Flags: review?(bbaetz)
Attachment #139860 - Flags: review?(bbaetz) → review+
Checking in Bugzilla/BugMail.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm,v  <--  BugMail.pm
new revision: 1.9; previous revision: 1.8
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
Attachment #139860 - Flags: review?(preed)
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.