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

Error in PortalLogAssertorTest regarding fragmentElementIds

    Details

      Description

      Following stacktrace can be found in some test runs:

       
      junit.framework.AssertionFailedError: 
      Error executing FreeMarker template
      FreeMarker template error:
      The following has evaluated to null or missing:
      ==> fragmentElementIds  [in template "template_id" at line 2, column 15]
      
      Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
      
      
      FTL stack trace ("~" means nesting-related):
      - Failed at: ${fragmentElementIds}  [in template "template_id" at line 2, column 13]
      
      Java stack trace (for programmers):
      
      freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
      at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
      at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:479)
      at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401)
      at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370)
      at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
      at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
      at freemarker.core.Environment.visit(Environment.java:331)
      at freemarker.core.Environment.visit(Environme...
      

       

        Attachments

          Activity

            People

            Assignee:
            team-echo Product Team Echo
            Reporter:
            jurgen.kappler Jürgen Kappler
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks, 4 days ago

                Packages

                Version Package
                7.4.13 DXP GA1
                Master