soygul / NBug

Automated bug reporting library for .NET
http://soygul.com/nbug
MIT License
191 stars 78 forks source link

3 mantis tickets are created #94

Open antoine1003 opened 4 years ago

antoine1003 commented 4 years ago

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.

soygul commented 4 years ago

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

antoine1003 commented 4 years ago

Okay thanks for the answer i'll check it out

antoine1003 commented 4 years ago

Can it be that 3 event handler are called?

soygul commented 4 years ago

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