Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #4076 [SOAP] "userCanRead()" error with getTrackerStructure(...)
    Infos
    #4076
    Stéphane Bégaudeau (begaudeaus)
    2013-06-26 18:24
    2013-06-24 15:31
    2768
    Details
    [SOAP] "userCanRead()" error with getTrackerStructure(...)
    When we call getTrackerstructure(sessionKey, groupId, trackerId) using the SOAP API of the trackers(https://tuleap.net/plugins/tracker/soap/view-wsdl), we sometime have this error from the server:

    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Call to a member function userCanRead() on a non-object
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Call to a member function userCanRead() on a non-object

    The error has been reproduced on tuleap.net (tuleap version: 6.1.99.29) with my user account for the group id "124" and the tracker id "170" among others. I could reproduce this issue with several trackers/projects.
    API
    6.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    dylan bowden (dylan)
    Closed
    2013-06-26
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    dylan bowden (dylan)2013-06-26 17:14
    The problem is fixed in Tuleap 6.2 which is on the verge of being released. Can I close this?
    User avatar
    dylan bowden (dylan)2013-06-26 10:50
    Hello Stéphane,

    I have found the root of the problem: the method is setermined to return as follows

    <xsd:complexType name="TrackerStructure">
    <xsd:sequence>
    <xsd:element name="semantic" type="tns:TrackerSemantic"/>
    <xsd:element name="workflow" type="tns:TrackerWorkflow"/>
    </xsd:sequence>
    </xsd:complexType>

    When the Tracker has no workflow set-up, we systematically get the issue you raised. I will create a patch for it.
    User avatar
    dylan bowden (dylan)2013-06-26 09:39
    • Status changed from New to Acknowledged
    • Assigned to changed from None to dylan bowden (dylan)