View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012246 | mantisbt | api soap | public | 2010-08-08 12:12 | 2013-04-29 08:16 |
| Reporter | bridog | Assigned To | rombert | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Intel x64 | OS | Ubuntu Desktop | OS Version | 10.04 |
| Product Version | 1.2.2 | ||||
| Target Version | 1.2.3 | Fixed in Version | 1.2.3 | ||
| Summary | 0012246: API call to mc_enum_get produces soap fault | ||||
| Description | The following soap call to mc_enum_get() ... <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://futureware.biz/mantisconnect"> ... produces this result: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> The underlying function looks like this: function mc_enum_get( $p_username, $p_password, $p_enumeration ) { $t_user_id is set in the called function mci_validate_enum_access(). Username and password are correct and so the function also creates a correct user id which is stored in the variable $t_user_id. The problem is that the variable is also used in the global context of mc_enum_get, in which it is not declared. As a quickfix I tried the following: function mc_enum_get( $p_username, $p_password, $p_enumeration ) { function mci_validate_enum_access($p_username, $p_password) {
} Unfortunately without any luck. | ||||
| Tags | No tags attached. | ||||
|
MantisBT: master c5b51f0e 2010-08-18 18:06 Details Diff |
Fix 0012246: SOAP API call mc_enum_get was not working The mc_enum_get method was referencing an undefined parameter which caused a SYSTEM WARNING on installations where such warnings are reported. |
Affected Issues 0012246 |
|
| mod - tests/soap/EnumTest.php | Diff File | ||
| mod - api/soap/mc_enum_api.php | Diff File | ||
|
MantisBT: master-1.2.x 31a20df8 2010-08-18 18:06 Details Diff |
Fix 0012246: SOAP API call mc_enum_get was not working The mc_enum_get method was referencing an undefined parameter which caused a SYSTEM WARNING on installations where such warnings are reported. |
Affected Issues 0012246 |
|
| mod - tests/soap/EnumTest.php | Diff File | ||
| mod - api/soap/mc_enum_api.php | Diff File | ||