•  
      request #13152 Calling GET /api/projects to find projects with the timetracking enabled crashes
    Infos
    #13152
    Thomas Gerbet (tgerbet)
    2019-03-26 10:33
    2019-03-25 17:29
    14013
    Details
    Calling GET /api/projects to find projects with the timetracking enabled crashes
    Calling the REST route with a query object like {"with_time_tracking": true}


    Introduced by request #12464


    Trace:
    PHP message: PHP Fatal error: Uncaught Error: Class 'Tuleap\widget\Event\GetProjectsWithCriteria' not found in /usr/share/tuleap/src/common/Project/REST/v1/ProjectResource.class.php:399
    Stack trace:
    #0 /usr/share/tuleap/src/common/Project/REST/v1/ProjectResource.class.php(309): Tuleap\Project\REST\v1\ProjectResource->getMyAndPublicProjectsFromExactMatch('{"with_time_tra...', Object(PFUser), 0, 10)
    #1 [internal function]: Tuleap\Project\REST\v1\ProjectResource->get(10, 0, '{"with_time_tra...')
    #2 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(1065): call_user_func_array(Array, Array)
    #3 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(304): Luracast\Restler\Restler->call()
    #4 /usr/share/tuleap/src/www/api/index.php(126): Luracast\Restler\Restler->handle()
    #5 {main}
    thrown in /usr/share/tuleap/src/common/Project/REST/v1/ProjectResource.class.php on line 399" while reading response header from upstream
    Timetracking
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-03-26
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 10.11.99.159

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2019-03-26