•  
      request #13750 Adding a new translation breaks the main page
    Infos
    #13750
    Leonid Terekhov (lterekhov)
    2019-08-14 15:27
    2019-08-14 08:18
    14936
    Details
    Adding a new translation breaks the main page

    Hello!

    Continuing the theme of translations. (request #13742)

    Adding a new language breaks the main page.

    1813-image.png

    codendi_syslog content:

    2019-08-14T07:58:18+02:00 [120] [error] Caught exception: Unknown variable: purified_headline:
    #0 /usr/share/tuleap/src/vendor/mustache/mustache/src/Mustache/Context.php(102): Mustache_Context->findVariableInStack('purified_headli...', Array)
    #1 /var/tmp/tuleap_cache/template_engine/__Mustache_796b36b7131597faee134724ffea89a9.php(60): Mustache_Context->find('purified_headli...')
    #2 /usr/share/tuleap/src/vendor/mustache/mustache/src/Mustache/Template.php(72): __Mustache_796b36b7131597faee134724ffea89a9->renderInternal(Object(Mustache_Context))
    #3 /usr/share/tuleap/src/vendor/mustache/mustache/src/Mustache/Engine.php(244): Mustache_Template->render(Object(Tuleap\Theme\BurningParrot\HomePagePresenter))
    #4 /usr/share/tuleap/src/common/templating/mustache/MustacheRenderer.class.php(65): Mustache_Engine->render('homepage', Object(Tuleap\Theme\BurningParrot\HomePagePresenter))
    #5 /usr/share/tuleap/src/common/templating/TemplateRenderer.class.php(63): MustacheRenderer->renderToString('homepage', Object(Tuleap\Theme\BurningParrot\HomePagePresenter))
    #6 /usr/share/tuleap/src/common/layout/SiteHomepageController.php(142): TemplateRenderer->renderToPage('homepage', Object(Tuleap\Theme\BurningParrot\HomePagePresenter))
    #7 /usr/share/tuleap/src/common/layout/SiteHomepageController.php(97): Tuleap\Layout\SiteHomepageController->displayStandardHomepage(true, '', true)
    #8 /usr/share/tuleap/src/common/Request/FrontRouter.php(232): Tuleap\Layout\SiteHomepageController->process(Object(HTTPRequest), Object(Tuleap\Theme\BurningParrot\BurningParrotTheme), Array)
    #9 /usr/share/tuleap/src/common/Request/FrontRouter.php(89): Tuleap\Request\FrontRouter->routeHandler(Object(HTTPRequest), Object(Tuleap\Layout\SiteHomepageController), Array)
    #10 /usr/share/tuleap/src/www/index.php(46): Tuleap\Request\FrontRouter->route(Object(HTTPRequest))
    #11 {main}

    For other screens did not find problems.

    Tuleap version: 11.4.99.136 

    Translation / gettext / i18n
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2019-08-14
    Attachments
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2019-08-14 08:40
    • Status changed from New to Verified
    • Assigned to changed from None to Thomas Gerbet (tgerbet)
    • Reported in version changed from 11.4 to All
    • Platform cleared values: CentOS 6