Page 1 of 1

problem with mc_issue_attachment_add SOAP method

Posted: 18 Mar 2009, 09:23
by giallu
Did anyone try to use the mc_issue_attachment_add() method for the SOAP API?

In my tests (mantis 1.1.6) it seems that attaching a binary file (let's say a .jpg image) with this method works, but the resulting image is corrupted.

Given I did not find past messages here nor a bug report on the tracker, I wonder if I'm doing something stupid or no-one actually used it in the past...

Re: problem with mc_issue_attachment_add SOAP method

Posted: 02 Jun 2009, 16:25
by vboctor
Did you base64 encode the content?

Re: problem with mc_issue_attachment_add SOAP method

Posted: 02 Jun 2009, 22:05
by giallu
Yeah I later determined the issue was about encoding, reported as bug #10235 and fixed