View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019344 | mantisbt | api soap | public | 2015-02-04 04:26 | 2016-08-15 09:02 |
Reporter | lukas.hubner | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.19 | ||||
Target Version | 1.2.20 | Fixed in Version | 1.2.20 | ||
Summary | 0019344: Cannot use object of type stdClass as array | ||||
Description | In mc_issue_api.php at line 660 there should be $t_project->name instead of $t_project['name'] | ||||
Steps To Reproduce | Call mc_issue_add with non existing project $s = new SoapClient( 'http://localhost/mantis/api/soap/mantisconnect.php?wsdl' ); $proj = new StdClass(); $s->mc_issue_add( $u, $p, $issue ); | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 3dcac096 2015-02-04 04:05 Details Diff |
Fix 0019344: cannot use object of type stdClass as array |
Affected Issues 0019344 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master 3a29ba7d 2015-02-04 04:05 Details Diff |
Fix 0019344: cannot use object of type stdClass as array |
Affected Issues 0019344 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master-1.2.x a4480943 2015-02-04 04:09 Details Diff |
Issue 0019344: NuSoap compatibility NuSoap uses arrays, so using the -> operator will trigger a SYSTEM NOTICE, Error Description: Trying to get property of non-object. To avoid that, we typecast the array to object. |
Affected Issues 0019344 |
|
mod - api/soap/mc_issue_api.php | Diff File |