Closed Bug 470900 Opened 16 years ago Closed 16 years ago

email_in.pl process_bug broken when just adding a new comment?

Categories

(Bugzilla :: Incoming Email, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: altlist, Unassigned)

Details

This may be my custom setup... I'm not sure why the patch v3 in bug 384009 was made, but it removed the "REQUIRED_PROCESS_FIELDS" process_bug code that ensured all the fields for a specific bug had been defined in the %fields table before calling process_bug.cgi. Without this code, adding a comment via the email interface doesn't work because the product field is not defined. Putting this code back in solved my problem.
1) data/input_email2.txt: From: LpSolit@netscape.net Subject: [Bug 2] Content-Type: text/plain; charset="UTF-8" I'm evil! 2) [root@localhost bugzilla-pg]# ./email_in.pl -vv < data/input_email2.txt Parsing Email Splitting Body and Attachments [Type: text/plain; charset="UTF-8"]... Part Content-Type: text/plain; charset="UTF-8" Part Character Encoding: UTF-8 Parsed Fields: $VAR1 = { 'comment' => 'I\'m evil! ', 'bug_id' => '2', 'reporter' => 'LpSolit@netscape.net' }; Updating Bug 2... 3) The comment has been correctly added to bug 2. I tested this on 3.2 and tip.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.