View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026672||mantisbt||api soap||public||2020-02-04 14:04||2020-02-04 14:16|
|Summary||0026672: [SOAP API regression 2.22.x]: mc_issue_add fails with "Object of class SoapFault could not be converted to int"|
It seems that latest versions of Mantis have a regression issue. Issue confirmed on 2.22.1 (see 0026492 ), 2.22.2 (www.mantishub.com / mantishub.io), 2.23.0 (local Apache). Unfortunately, I don't know what previous version of Mantis does not have this issue.
Code that worked on previous versions of Mantis now fails. Specifically, mc_issue_add fails with "Object of class SoapFault could not be converted to int".
Even if there is a bug in client code, and it sends invalid request - the server MUST respond with a clear failure reason (like "invalid credentials", "required field is not specified", "category not found", etc.), but not with internal crash.
The sample XML request for mc_issue_add is specified in "Additional info" below.
|Steps To Reproduce|
From Apache logs:
<?xml version="1.0" encoding="UTF-8"?>
|Tags||No tags attached.|
Apache logs are for 2.23.0
Just to clarify - this is a server-side problem, it is not about client side.