problem with mc_issue_attachment_add SOAP method

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
giallu
Posts: 20
Joined: 06 Feb 2008, 11:34

problem with mc_issue_attachment_add SOAP method

Post 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...
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: problem with mc_issue_attachment_add SOAP method

Post by vboctor »

Did you base64 encode the content?
Migrate your MantisBT to the MantisHub Cloud
giallu
Posts: 20
Joined: 06 Feb 2008, 11:34

Re: problem with mc_issue_attachment_add SOAP method

Post by giallu »

Yeah I later determined the issue was about encoding, reported as bug #10235 and fixed
Post Reply