View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027981||mantisbt||api soap||public||2021-02-14 17:04||2021-03-07 18:28|
|Target Version||2.25.0||Fixed in Version||2.25.0|
|Summary||0027981: mc_issue_update() throws system warning when Project not specified in IssueData|
PHP Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] Error Type: SYSTEM WARNING,
|Steps To Reproduce|
Test program used to trigger the error
|Tags||No tags attached.|
I haven't checked the code again, but as far as I remember the SOAP API expected the full payload of an issue to update it. This is not ideal, and hence, I designed the REST API to allow patching by supplying only the fields to be overwritten. So I would say this is by design and I wouldn't invest in changing this in SOAP API.
OK I'm fine with that, so let's leave current behavior as it is.
MantisBT: master 328adc84
2021-02-14 15:55:06Details Diff
|Fix system warning in mc_issue_update()
SYSTEM WARNING, Error Description: Undefined array key "project" is
thrown when the given IssueData does not contain project information.
|mod - api/soap/mc_issue_api.php||Diff File|