•  
      request #27542 PHP notice in MediaWiki TuleapSidebar
    Infos
    #27542
    Manuel Vacelet (vaceletm)
    2022-07-18 13:52
    2022-07-05 17:26
    29106
    Details
    PHP notice in MediaWiki TuleapSidebar

    While experimenting with gerrit #26302 that captures the logs, I noticed an error in TuleapSidebar:

    2022-07-05 15:19:18 web plugin_mediawiki_102: [f0ee8c50fb310e22f3bf52e6] /mediawiki/gpig   ErrorException from line 44 of /usr/share/mediawiki-tuleap-flavor/skins/TuleapSkin/src/TuleapSidebar.php: PHP Notice: Trying to access array offset on value of type null #0 /usr/share/mediawiki-tuleap-flavor/skins/TuleapSkin/src/TuleapSidebar.php(44): MWExceptionHandler::handleError()
    #1 /usr/share/mediawiki-tuleap-flavor/skins/TuleapSkin/src/SkinTuleapSkin.php(163): TuleapSkin\TuleapSidebar->getConfiguration()
    #2 /usr/share/mediawiki-tuleap-flavor/skins/TuleapSkin/src/SkinTuleapSkin.php(99): TuleapSkin\SkinTuleapSkin->makeTuleapProjectSidebarConfig()
    #3 /usr/share/mediawiki-tuleap-flavor/includes/skins/SkinMustache.php(57): TuleapSkin\SkinTuleapSkin->getTemplateData()
    #4 /usr/share/mediawiki-tuleap-flavor/includes/skins/SkinTemplate.php(144): SkinMustache->generateHTML()
    #5 /usr/share/mediawiki-tuleap-flavor/includes/OutputPage.php(2622): SkinTemplate->outputPage()
    #6 /usr/share/mediawiki-tuleap-flavor/includes/MediaWiki.php(954): OutputPage->output()
    #7 /usr/share/mediawiki-tuleap-flavor/includes/MediaWiki.php(967): MediaWiki->{closure}()
    #8 /usr/share/mediawiki-tuleap-flavor/includes/MediaWiki.php(547): MediaWiki->main()
    #9 /usr/share/mediawiki-tuleap-flavor/index.php(53): MediaWiki->run()
    #10 /usr/share/mediawiki-tuleap-flavor/index.php(46): wfIndexMain()
    #11 {main}
    
    Mediawiki Standalone
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Robert Vogel (rvogel), Miriam Schlindwein (mschlindwein)
    Stage
    Miriam Schlindwein (mschlindwein)
    Closed
    2022-07-18
    Attachments
    Empty
    References
    Referenced by request #27542

    Artifact Tracker v5

    rel #26753 13.11

    Follow-ups

    User avatar

    Integrated in Tuleap 13.10.99.138


    • Status changed from New to Closed
    • Assigned to changed from None to Miriam Schlindwein (mschlindwein)
    • Connected artifacts
    • Close date set to 2022-07-18