MantisBT: master 77e6eac9

Author Committer Branch Timestamp Parent
rombert rombert master 2009-10-30 05:20 master 13647992
Affected Issues  0000002: Reolved bugs shouldn't allow bugnote posting
Changeset

Fix project attachment handling using the SOAP API

This commit fixes 2 issues with the project attachment handling:

  • in mc_project_attachment_add the contents was not base64 decoded;
  • in mci_file_get the $row array expected to contain a bug id, bug
    that only holds for issue attachments.

A test has been added to verify the behaviour of project
attachments.

mod - tests/soap/AttachmentTest.php Diff File
mod - api/soap/mc_project_attachment_api.php Diff File
mod - api/soap/mc_file_api.php Diff File