View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011138 | mantisbt | api soap | public | 2009-11-09 05:35 | 2010-02-22 14:34 |
Reporter | Joe_Fowler | Assigned To | rombert | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Target Version | 1.2.0 | Fixed in Version | 1.2.0 | ||
Summary | 0011138: Error when retrieving bug via SOAP | ||||
Description | An error occurs when retrieving a bug via SOAP. May be related to bug 0011137 Also tried in the latest snapshot. Here is a link to my original forum post: http://www.mantisbt.org/forums/viewtopic.php?f=3&t=8600 | ||||
Steps To Reproduce | Sample Request: <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"> Sample Response: <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/"> | ||||
Tags | No tags attached. | ||||
I have fixed one possible problem - user does not have privileges to view attachments. I can't really tell if this is your case since attachments work fine for me. Please try a more recent git version. |
|
I tried the latest git version. This error is still occurring, but only when the user credentials supplied do not have permission to see the bug requested. (Instead of an access denied message.) When they do have access it is working great. :) |
|
Is this the same stack trace or a different one? Please attach an updated stack trace if possible, I need to understand where this is triggered from. |
|
Here is the response I get: <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/"> If I can be of more assistance, I am happy to help. |
|
I've committed another set of fixes. Please try them when you have the time. |
|
This seems to be working perfectly now. Thanks for the fixes. |
|
Thanks for confirming. |
|
MantisBT: master-1.2.x 70bbad26 2009-11-09 16:16 Details Diff |
Issue 0011138: Error when retrieving bug via SOAP Fixes a possible error in mci_issue_get_attachments when the user does not have access to viewing attachments. |
Affected Issues 0011138 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master bbe5fb15 2009-11-09 16:16 Details Diff |
Issue 0011138: Error when retrieving bug via SOAP Fixes a possible error in mci_issue_get_attachments when the user does not have access to viewing attachments. |
Affected Issues 0011138 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master-1.2.x 2656c2f5 2009-11-10 15:07 Details Diff |
Issue 0011138: Error when retrieving bug via SOAP Proper check for return values and avoid returning nulls to count. |
Affected Issues 0011138 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master f7435b8c 2009-11-10 15:07 Details Diff |
Issue 0011138: Error when retrieving bug via SOAP Proper check for return values and avoid returning nulls to count. |
Affected Issues 0011138 |
|
mod - api/soap/mc_issue_api.php | Diff File |