MantisBT: master-1.2.x 47a76818

Author Committer Branch Timestamp Parent
rombert rombert master-1.2.x 2009-11-01 17:40 master-1.2.x 5f52be16
Affected Issues  0011105: mc_issue_get redirects to login page on login failure
Changeset

Fixes 0011105: mc_issue_get redirects to login page on login failure

Some of the SOAP API calls were calling mci_get_user_lang without
checking the result of mci_check_login first. The result was that
authentication was requested, resulting a 302 redirect to the
login page.

A fix has been applied and regression tests put in place.

mod - api/soap/mc_filter_api.php Diff File
mod - api/soap/mc_project_api.php Diff File
add - tests/soap/LoginTest.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/AllTests.php Diff File