•  
      request #9915 SOAP route getArtifacts generates a lot of PHP warnings
    Infos
    #9915
    Yannis ROSSETTO (rossettoy)
    2017-01-31 15:32
    2017-01-31 14:58
    10208
    Details
    SOAP route getArtifacts generates a lot of PHP warnings
    We can provide a criteria parameter to the SOAP route getArtifacts.
    However, if this parameter is not an array, this will generate a lot of warnings:
    PHP Warning: Invalid argument supplied for foreach() in /usr/share/tuleap/plugins/tracker/include/Tracker/Report/Tracker_Report_SOAP.class.php on line 68

    Given that we do not want to break existing implementation, we will ne typehint this parameter,
    but do a check before parsing it
    API
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-01-31
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-01-31 15:32
    Integrated into Tuleap 9.3.99.155.

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2017-01-31