•  
      request #9749 Burndown JpGraph error when duration is set to 1
    Infos
    #9749
    Marie Ange Garnier (marieange)
    2016-12-21 14:43
    2016-12-19 10:54
    10026
    Details
    Burndown JpGraph error when duration is set to 1
    Given a current burdown.
    Set remaining_effort to 0 a Js error is thrown:

    [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP Warning: Division by zero in /usr/share/jpgraph/jpgraph_date.php on line 419, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP Stack trace:, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 1. {main}() /usr/share/tuleap/plugins/tracker/www/index.php:0, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 2. TrackerManager->process() /usr/share/tuleap/plugins/tracker/www/index.php:33, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 3. TrackerManager->processSubElement() /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerManager.class.php:126, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 4. Tracker_FormElement_Field_Burndown->process() /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerManager.class.php:109, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 5. Tracker_FormElement_Field_Burndown->fetchBurndownImage() /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php:138, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 6. Tracker_Chart_Burndown->display() /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php:163, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 7. Chart->stroke() /usr/share/tuleap/plugins/tracker/include/Tracker/Chart/Burndown.class.php:204, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 8. Chart->__call() /usr/share/tuleap/plugins/tracker/include/Tracker/Chart/Burndown.class.php:204, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 9. call_user_func_array() /usr/share/tuleap/src/common/chart/Chart.class.php:160, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 10. Graph->Stroke() /usr/share/tuleap/src/common/chart/Chart.class.php:160, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390 [Mon Dec 19 09:22:38 2016] [error] [client 172.17.42.1] PHP 11. DateScale->AutoScale() /usr/share/jpgraph/jpgraph.php:1745, referer: http://tuleap-web.tuleap-aio-dev.docker/plugins/tracker/?aid=390
    Empty
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-12-21
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Summary
      -Burndown JpGraph error when remaining effort is set to 0 
      +Burndown JpGraph error when duration is set to 1 
    • Status changed from New to Under review