•  
      request #10623 Welcome aboard widget throws an exception if sys_incdir and sys_custom_incdir are symlinks
    Infos
    #10623
    Thomas Gerbet (tgerbet)
    2017-09-04 13:28
    2017-09-04 11:25
    10860
    Details
    Welcome aboard widget throws an exception if sys_incdir and sys_custom_incdir are symlinks
    You will get the following error:
    PHP Fatal error: Uncaught exception 'Tuleap\\Language\\CustomContentNotFoundException' in /usr/share/tuleap/src/common/language/CustomizableContentLoader.php:45\nStack trace:\n#0 /usr/share/tuleap/src/common/templating/mustache/SiteContentRenderer.php(49): Tuleap\\Language\\CustomizableContentLoader->getContent(Object(PFUser), 'widget/my_welco...')\n#1 /usr/share/tuleap/src/common/templating/mustache/SiteContentRenderer.php(73): Tuleap\\Templating\\Mustache\\SiteContentRenderer->render(Object(PFUser), 'widget/my_welco...', Array)\n#2 /usr/share/tuleap/src/common/widget/MyWelcomeMessage.php(65): Tuleap\\Templating\\Mustache\\SiteContentRenderer->renderMarkdown(Object(PFUser), 'widget/my_welco...', Array)\n#3 /usr/share/tuleap/src/common/Dashboard/Widget/DashboardWidgetPresenter.php(72): Tuleap\\Widget\\MyWelcomeMessage->getContent()\n#4 /usr/share/tuleap/src/common/Dashboard/Widget/DashboardWidgetPresenterBuilder.php(103): Tuleap\\Dashboard\\Widget\\DashboardWidgetPresenter->__construct(Object(Tuleap\\Dashboard\\User\\UserDashboard), Object(Tuleap\\Da in /usr/share/tuleap/src/common/language/CustomizableContentLoader.php on line 45, referer: https://my.enalean.com/my/?dashboard_id=975

    With the local.inc default it is not abnormal to encounter this situation, /usr/share/codendi (which is a link to /usr/share/tuleap) is used in sys_incdir and sys_custom_incdir parameters.
    Dashboard & Widgets
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-09-04
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 9.11.99.99

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2017-09-04
    User avatar
    Thomas Gerbet (tgerbet)2017-09-04 11:37
    A patch is under review: gerrit #9405.

    • Summary
      -Welcome aboard widget throws an exception if sys_incdir and sys_custom_incdir are symlink 
      +Welcome aboard widget throws an exception if sys_incdir and sys_custom_incdir are symlinks 
    • Status changed from Under implementation to Under review