Open Bug 703586 Opened 14 years ago Updated 12 years ago

Using invalid field names in email_in.pl causes strange problems and "use of uninitialized value $current_field in hash element"

Categories

(Bugzilla :: Incoming Email, defect)

4.0.2
defect
Not set
normal

Tracking

()

People

(Reporter: ivzakirov, Unassigned)

Details

I have emailed to bugzilla following text: @PAL-It is my test message. But it did not add comment to bug. Here is details: ===================== Raw message: --------------------- Date: Fri, 18 Nov 2011 12:06:31 +0500 From: Ilgizar Zakirov <ivzakirov@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11 MIME-Version: 1.0 To: bugzilla@localdomain Subject: Re: [Bug 21] Testing email transfer References: <bug-21-9@http.myserver/bugzilla/> <bug-21-9-94U9JCzCc2@http.myserver/bugzilla/> In-Reply-To: <bug-21-9-94U9JCzCc2@http.myserver/bugzilla/> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit @PAL-It is my test message. ===================== email_in.pl STDOUT --------------------- root@zakirov:/var/www/bugzilla# cat /home/ziay/share/my_test_msg.eml | ./email_in.pl -vvv Parsing Email Splitting Body and Attachments [Type: text/plain; charset=UTF-8; format=flowed]... Part Content-Type: text/plain; charset=UTF-8; format=flowed Part Character Encoding: UTF-8 Body: @PAL-It is my test message. Use of uninitialized value $current_field in hash element at ./email_in.pl line 118. Parsed Fields: $VAR1 = { '' => ' @PAL-It is my test message.', 'comment' => '', 'bug_id' => '21', 'reporter' => 'ivzakirov@gmail.com' }; Updating Bug 21... Bug processed. Sent bugmail root@zakirov:/var/www/bugzilla#
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Summary: Use of uninitialized value $current_field in hash element at ./email_in.pl line 118. → Using invalid field names in email_in.pl causes strange problems and "use of uninitialized value $current_field in hash element"
You need to log in before you can comment on or make changes to this bug.