Kevin McCoy
04-Nov-2008, 05:10 PM
Fabio,
I am having trouble with custom fields on Mantis. I can manually log in to Mantis, using the Eurekalog username/password and set a custom field called "hostname". Mantis sends me an email with "hostname" filled in properly on non-EL bug reports.
If however, I have an exception in my EXE and EL sends the error data to Mantis automatically, the field is left blank.
I am using Mantis v1.1.2 and EL v6.0.17 Enterprise.
I can provide WireShark TCP/IP dumps of the conversation between EL and Mantis if you like. In the TCP/IP dump it looks like EL is *trying* to fill in the custom field, but something must be going wrong on the Mantis side or with your web spider.
Here is my webfields handler:
PROCEDURE TMainForm.ExceptionWebFields(EurekaExceptionRecord : TEurekaExceptionRecord; WebFields : TStrings);
BEGIN
WebFields.Add(Format('hostname=%s', [GetMyHostName]));
END;
GetMyHostname returns a string containing the local machine's hostname.
Any ideas?
Contact me off the list if you'd like a username/password on my Mantis server for testing purposes.
Best regards,
Kevin G. McCoy
I am having trouble with custom fields on Mantis. I can manually log in to Mantis, using the Eurekalog username/password and set a custom field called "hostname". Mantis sends me an email with "hostname" filled in properly on non-EL bug reports.
If however, I have an exception in my EXE and EL sends the error data to Mantis automatically, the field is left blank.
I am using Mantis v1.1.2 and EL v6.0.17 Enterprise.
I can provide WireShark TCP/IP dumps of the conversation between EL and Mantis if you like. In the TCP/IP dump it looks like EL is *trying* to fill in the custom field, but something must be going wrong on the Mantis side or with your web spider.
Here is my webfields handler:
PROCEDURE TMainForm.ExceptionWebFields(EurekaExceptionRecord : TEurekaExceptionRecord; WebFields : TStrings);
BEGIN
WebFields.Add(Format('hostname=%s', [GetMyHostName]));
END;
GetMyHostname returns a string containing the local machine's hostname.
Any ideas?
Contact me off the list if you'd like a username/password on my Mantis server for testing purposes.
Best regards,
Kevin G. McCoy