NBug icon indicating copy to clipboard operation
NBug copied to clipboard

3 mantis tickets are created

Open antoine1003 opened this issue 5 years ago • 4 comments

Hi,

I set up in the app a destination to create a mantis ticket when an error is thrown. I set the following connection string :

Type=Mantis;Username=administrator;Password=P@ssw0rdj;Url=http://mantis.hostname.fr/api/soap/mantisconnect.php;ProjectId=1;Category=General;Severity=70;Status=10;SendAttachment=False;SuccessIfAttachmentFails=False;AddVersionIfNotExists=False;

But when I check mantis, it has created 3 exact same tickets : 2020-10-06_221407

I don't know what am I missing...

Thanks, A.

antoine1003 avatar Oct 06 '20 20:10 antoine1003

I didn't write the Mantis plugin myself, it was contributed to the project by someone else. By a quick look, I couldn't spot the reason for the issue. If you want to check it out yourself, here it is: https://github.com/soygul/NBug/tree/master/NBug/Core/Submission/Tracker/Mantis

soygul avatar Oct 06 '20 20:10 soygul

Okay thanks for the answer i'll check it out

antoine1003 avatar Oct 06 '20 20:10 antoine1003

Can it be that 3 event handler are called?

antoine1003 avatar Oct 13 '20 07:10 antoine1003

Maybe. Since the original implementer didn't have a similar issue, maybe there is something wrong in your code.

soygul avatar Oct 13 '20 07:10 soygul