PDA

View Full Version : Sometimes mtSend_InvalidInsertMsg is show inserting the bug in mantis


Davide Angeli
05-Aug-2009, 11:44 AM
Hi, I'm using EurekaLog 6.20 (my customers are using my software
compiled with EL 6.18). When EL traps an exception, my programs is set
to send mail message via EL SMTP client and also put the bug in Mantis.

Sometime happens that EL at the end of the mantis insert shows an error (mtSend_InvalidInsertMsg) with "error code" and "error message" empty.
All is fine becase the mail is sent and the bug is correctly inserted in Mantis but this message is strange. Have you got an idea of what should be?

Thanks

Davide Angeli
Multysoft srl

Alex
05-Aug-2009, 01:43 PM
Hi,

That's probably because your Mantis version is not the same, which we used to develop EurekaLog. Mantis (and other bug tracker too) changes over time, so we need to update EurekaLog to work with new versions of bug-tracker.

Which version of Mantis do you use?

Kevin G. McCoy
06-Aug-2009, 12:48 AM
Davide,

You can configure Mantis to email you directly - so it is not necessary
to send a separate SMTP message from your application with EurekaLog. By default, this email feature is not turned on in Mantis.

It will save a little time when your app reports a bug if you let Mantis mail the notification. Mantis sends out the email a couple seconds after the bug report comes in from EurekaLog.

This is how I use Mantis and it works well.

Best regards,

Kevin G. McCoy

Davide Angeli wrote:
Hi, I'm using EurekaLog 6.20 (my customers are using my software compiled with EL 6.18). When EL traps an exception, my programs is set to send mail message via EL SMTP client and also put the bug in Mantis.

Sometime happens that EL at the end of the mantis insert shows an error (mtSend_InvalidInsertMsg) with "error code" and "error message" empty.
All is fine becase the mail is sent and the bug is correctly inserted in Mantis but this message is strange. Have you got an idea of what should be?

Davide Angeli
07-Aug-2009, 07:50 AM
Alex ha scritto:
Hi,

That's probably because your Mantis version is not the same, which we used to develop EurekaLog. Mantis (and other bug tracker too) changes over time, so we need to update EurekaLog to work with new versions of bug-tracker.

Which version of Mantis do you use?
I can't retrive the Mantis version, I've not direct access to it and the person that have it is on vacation. Do you know the way to get the Mantis version?

Thanks

Davide

Davide Angeli
07-Aug-2009, 07:59 AM
You can configure Mantis to email you directly - so it is not necessary to send a separate SMTP message from your application with EurekaLog. By default, this email feature is not turned on in Mantis.
It will save a little time when your app reports a bug if you let Mantis mail the notification. Mantis sends out the email a couple seconds after the bug report comes in from EurekaLog.
Yes I know this, I decide to maint both just for easiness, but the problem is not sending the e-mail but it comes out sometimes just inserting the bug in Mantis.

Davide

Kevin G. McCoy
07-Aug-2009, 02:47 PM
Davide Angeli wrote:
I can't retrive the Mantis version, I've not direct access to it and the person that have it is on vacation. Do you know the way to get the Mantis version?

The version number is found on all Mantis web pages, down at the bottom left corner.

I am running v1.1.7

Davide Angeli
07-Aug-2009, 03:28 PM
Kevin G. McCoy ha scritto:
The version number is found on all Mantis web pages, down at the bottom left corner.
In normal installation is how you wrote and I know, but who installed hour Mantis had the fantastic idea (a great genius!) of customize that pages so the mantis logo, the mantis version ecc were cut of. Is there another way to got that information without having the access to the web server hosting mantis? Otherwise I've to wait until my collegue return from vacation.

Thank you

Davide Angeli

user@domain.invalid
07-Aug-2009, 03:39 PM
Davide,

You might try looking at the HTML in your browser. In FireFox you right-click on the web page and select "View Source" - it may be different if you have a non-English browser config.

Look near the bottom of the HTML "source code" for something like:

<a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker">Mantis 1.1.7</a>[<a href Perhaps your genius web designer made the version number "white on white" text to hide it? I do that sometimes to hide text.

If he just hacked out the version number and logo PHP, then you are out
of luck.

Check all the pages you have access to - maybe he didn't hack all the
pages - check the Manage pages if you can see them.

Kevin

Davide Angeli wrote:
Kevin G. McCoy ha scritto:
The version number is found on all Mantis web pages, down at the bottom left corner.
In normal installation is how you wrote and I know, but who installed hour Mantis had the fantastic idea (a great genius!) of customize that pages so the mantis logo, the mantis version ecc were cut of. Is there another way to got that information without having the access to the web server hosting mantis? Otherwise I've to wait until my collegue return from vacation.

Thank you

Davide Angeli

Davide Angeli
07-Aug-2009, 04:45 PM
You might try looking at the HTML in your browser. In FireFox you right-click on the web page and select "View Source" - it may be different if you have a non-English browser config.

Look near the bottom of the HTML "source code" for something like:

<a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker">Mantis 1.1.7</a>[<a href Damn, he did a very good job! In no one pages that I can access there is any Mantis reference! I'll wait till the end og August.

Thank you very much

Davide

Alex
07-Aug-2009, 05:40 PM
Hi,

BTW, if the HTML layout was changed - then it can be a reason for your behavior too.

You see, EurekaLog sends requests and tries to parse the html answer. I.e. EurekaLog expects certain constructs on the page to function. If it can not find things in expected place - this results in "invalid insert/modify request" message.

That is why you may also have a problem, if you use newer version of Mantis, than we tested with EurekaLog. New version may have differences in HTML pages, that can prevent EurekaLog from normal functioning.

Alex
12-Aug-2009, 08:52 AM
Hi,

There is new RC 6 available for download. Check if it solves your issue.

Davide Angeli
01-Sep-2009, 11:24 AM
Alex ha scritto:
Hi,

There is new RC 6 available for download. Check if it solves your issue.
Sorry for long answer, I was on vacation!

In these days, we have updated Mantis at 1.1.8 version (the latest
stable version) and now we are doing some tests to see if the error
persists.

Thank you!

Davide

Alex
03-Sep-2009, 07:58 AM
No problem, I'll be waiting for your feedback :)

Davide Angeli
07-Sep-2009, 10:07 AM
Alex ha scritto:
No problem, I'll be waiting for your feedback :)
I've done internal tests with the new Mantis version and all seems functioning : I never got the problem. I'll keep under control the situation with my users.

Thank you

Davide

Alex
07-Sep-2009, 11:23 AM
Ok, thanks for the info ;)