duplicate notifications to submitter, incorect links

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
przemek.jakub
Posts: 1
Joined: 29 Mar 2022, 14:57

duplicate notifications to submitter, incorect links

Post by przemek.jakub »

Good evening.
We use EmailReporting plugin. Since last week we've been having some problems with this plugin.
When a bug is reported by an email, Mantis notify submitter with 2 emails with two diffrent links to the bug of which only one is correct. The other redirects to either nonexisting bug or a completely different one:

Code: Select all

[HELPDESK 0010531]: Test po zmianie kategorii na lokalny względem projektu helptrack
[HELPDESK 0010530]: Test po zmianie kategorii na lokalny względem projektu helptrack
In this example bug id 10530 is the correct one and this big_id is max(id) in mantis_bug_mantis.

Then I reported a new ticket but this time through mantis page. This ticket recives id 10531 but I also receive 2 notifications again:(:

Code: Select all

[HELPDESK 0010531]: Dodanie ręcznie zgłoszenia w portalu
[HELPDESK 0010531]: Test po zmianie kategorii na lokalny względem projektu helptrack

Mantis version: 2.19.0
Plugin Version: Email Reporting 0.10.1

We have 3 projects, but for a long time it didin't caused any problems.
A few weeks ago we installed another plugin: Calendar of Events 2.6.0. Today we deinstalled it but it didn't help.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: duplicate notifications to submitter, incorect links

Post by SL-Gundam »

Please do the following
  1. Activate Debug mode in EmailReporting.
  2. Send an email to the EmailReporting mailbox.
  3. Run bug_report_mail.php through the webinterface and copy all of the output here so that we can see what happens. (This is assuming this reproduces the error)
Post Reply