Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2.3.2
Description
When rendering a template from a symfony command no nice urls will be output without explicitly specifying the siteaccess in the twig template.
Unable to find source-code formatter for language: twig. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
{{ path( 'ez_urlalias', {'locationId': 630}) }}`
will output something like /view/content/597/full/1/630
Unable to find source-code formatter for language: twig. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
{{ path( 'ez_urlalias', {'locationId': 630, 'siteaccess': 'ger'}) }}`
will output the nice url for that siteaccess.
Specifying the siteaccess via --siteaccess=ger flag on command line will not help.