Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-41917

FreeMarker theme fails when accessing the page/site and not logged in

    Details

      Description

      When deploying a FreeMarker theme and then trying to access the site/page it is used on, if you are logged in.. it is fine. If you are not, you get

      freemarker.core.NonStringException: Error on line 49, column 67 in EDU-theme_SERVLET_CONTEXT_/templates/portal_normal.ftl
      Expecting a string, date or number here, Expression is_login_redirect_required is instead a freemarker.template.TemplateBooleanModel$1

      It seems the is_login_redirect_required is not the correct type (or possibly undefined)

      Originally thought it was a deployment issue and opened ticket LPS-41915, but that was not the real issue.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 41 weeks, 6 days ago

                Packages

                Version Package
                6.2.0 CE GA1