View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011180 | mantisbt | api soap | public | 2009-11-15 15:21 | 2014-02-05 07:55 |
| Reporter | rombert | Assigned To | rombert | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.2.0rc2 | ||||
| Summary | 0011180: [this bugtracker] mc_project_get_users fails to return all reporters | ||||
| Description | If I try to retrieve the developers, all is fine. If I try to retrieve the reporters, the proxy server I use reports a zero sized reply. The request is <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"> This call took place at Sun, 15 Nov 2009 18:25:04 GMT. I'd appreciate some ( private if needed ) logging information, so that I can see why it fails. | ||||
| Tags | No tags attached. | ||||
|
I would expect that the request caused an out of memory error. This bug tracker has thousands of reporters. |
|
|
Sounds correct, and there are workarounds on the client side. On the other side, I'm concerned about trying to retrieve the user information only to fail every time . The Mylyn connector for Eclipse does this quite rarely - perhaps once per day, but other clients may not be so forgiving. What would be a server-side solution for this? |
|
|
I think we need to provide a paging API and put a realistic limit on the non-paging version. For example, if you don't use paging, then you get 100 max users. The limit on the non-paging API should be configurable via the webservice config file. We should potentially have this as a global limit to apply to users, projects, etc. However, we should only apply it to an API, once we have a paging version of it. |
|
|
Not for this version of the API. Will revisit in the 1.3.x stream. |
|
|
We typically don't suspend issues. If this issue is for 1.3, then we should set the target version as appropriate or just leave it blank. The trunk is now the development branch and hence feel free to do the fix there and not port to 1.2.x branch. However, I would like to discuss the new API here before going ahead with the implementation. Thanks. |
|
|
Re-opening. |
|
|
Some recent tests showed that the memory is used by the SOAP marshalling, and not the actual user retrieval, so there isn't much to be done here, except changing the API. |
|
|
@rombert, is this still an issue ? |
|
|
Colour me impressed, this actually works :-) I suspect that we're now running with the PHP Soap extension instead of nusoap, and this brings about the improvement. |
|