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 #10268 Error in CI widget when removing all jobs
    Infos
    #10268
    Marie Ange Garnier (marieange)
    2017-06-09 11:11
    2017-05-31 14:52
    10532
    Details
    Error in CI widget when removing all jobs
    In a project add a job in CI
    In project dashboard add "Jenkins job widget"
    Then delete all your CI jobs
    Go back on projects widgets a notice is raised:
    Warning: htmlentities() expects parameter 1 to be string, array given in /usr/share/tuleap/src/common/include/Codendi_HTMLPurifier.class.php on line 257
    Call Stack
    # Time Memory Function Location
    1 0.0000 658912 {main}( ) ../projects.php:0
    2 0.0295 9689704 Tuleap\Dashboard\Project\ProjectDashboardRouter->route( ) ../projects.php:100
    3 0.0295 9689976 Tuleap\Dashboard\Project\ProjectDashboardController->display( ) ../ProjectDashboardRouter.php:84
    4 0.0298 9703432 Tuleap\Dashboard\Project\ProjectDashboardController->getProjectDashboardsPresenter( ) ../ProjectDashboardController.php:113
    5 0.0306 9749888 Tuleap\Dashboard\Widget\DashboardWidgetPresenterBuilder->getWidgetsPresenter( ) ../ProjectDashboardController.php:347
    6 0.0306 9750408 Tuleap\Dashboard\Widget\DashboardWidgetPresenterBuilder->getColumnsPresenterByLine( ) ../DashboardWidgetPresenterBuilder.php:34
    7 0.0306 9750624 Tuleap\Dashboard\Widget\DashboardWidgetPresenterBuilder->getWidgetsPresenterByColumn( ) ../DashboardWidgetPresenterBuilder.php:53
    8 0.0317 9970448 Tuleap\Dashboard\Widget\DashboardWidgetPresenter->__construct( ) ../DashboardWidgetPresenterBuilder.php:72
    9 0.0317 9970528 Widget->getContentForBurningParrot( ) ../DashboardWidgetPresenter.php:43
    10 0.0317 9970528 hudson_Widget_ProjectJobsOverview->getContent( ) ../Widget.class.php:336
    11 0.0319 9971912 Codendi_HTMLPurifier->purify( ) ../hudson_Widget_ProjectJobsOverview.class.php:150
    12 0.0319 9972264 htmlentities ( ) ../Codendi_HTMLPurifier.class.php:257
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-06-09
    Attachments
    Empty
    References
    Referenced by request #10268

    Follow-ups