•  
      request #11259 REST API can throw 500 error
    Infos
    #11259
    Marie Ange Garnier (marieange)
    2018-03-08 12:02
    2018-03-08 12:02
    11592
    Details
    REST API can throw 500 error
    2018-03-05T14:46:41+01:00 [6136] [error] Unhandled exception: Artifact 480668 cannot be ranked with itself.:
    #0 /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/dao/PriorityDao.class.php(59): Tracker_Artifact_PriorityDao->moveListOfArtifacts(Array, 480668, 0)
    #1 /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_PriorityManager.class.php(95): Tracker_Artifact_PriorityDao->moveListOfArtifactsBefore(Array, 480668)
    #2 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/REST/v1/ResourcesPatcher.class.php(80): Tracker_Artifact_PriorityManager->moveListOfArtifactsBefore(Array, 480668, '-1', '7846')
    #3 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php(605): Tuleap\AgileDashboard\REST\v1\ResourcesPatcher->updateArtifactPriorities(Object(Tuleap\AgileDashboard\REST\v1\OrderRepresentation), '-1', '7846')
    #4 [internal function]: Tuleap\AgileDashboard\REST\v1\Kanban\KanbanResource->patchBacklog(4656, Object(Tuleap\AgileDashboard\REST\v1\OrderRepresentation), Object(Tuleap\AgileDashboard\REST\v1\Kanban\KanbanAddRepresentation), '457679')
    #5 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(1059): ReflectionMethod->invokeArgs(Object(Tuleap\AgileDashboard\REST\v1\Kanban\KanbanResource), Array)
    #6 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(304): Luracast\Restler\Restler->call()
    #7 /usr/share/tuleap/src/www/api/index.php(116): Luracast\Restler\Restler->handle()
    #8 {main}
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty