Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1564

Robots.txt needs additional null check in FTL script

    XMLWordPrintable

Details

    Description

      Loops are executed if one of the following is true:

      (section.disallows?? || disallowedFacNavLinks??)  
      

      There should be additional null check for disallowedFacNavLinks and section.disallows before looping
      If robotstxt:disallowfacnav is set to false, you get:

      The following has evaluated to null or missing:
      ==> disallowedFacNavLinks  [in template "jcr:/hst:hst/hst:configurations/hst:default/hst:templates/robotstxt.ftl" at line 10, column 8]
      

      Attachments

        Activity

          People

            clientserviceteam Client Service Team
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: