Uploaded image for project: 'Apache Freemarker'
  1. Apache Freemarker
  2. FREEMARKER-34

ignore_missing option of the <#include does directive not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 2.3.24-incubating
    • None
    • engine
    • None
    • Windows and *nix

    Description

      I found this issue while working on OFBIZ-8250.

      It can be easily reproduced on our trunk demo at
      https://ofbiz-vm.apache.org:8443/catalog/control/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y

      By default the footer shows information about the revision and others. They are beforehand generated in a file which is then used by a Freemarker template for rendering.

      This template depends on themes, by default it's at
      http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/template/Footer.ftl?view=markup (see lines 26-27)

      If we remove the generated file, which is at /home/ofbizDemo/trunk/runtime/SvnInfo.ftl on the OFBiz demo server. Then the error appears.

      Let me know when you want to test this (ie temporary rename the file). Even if it's benign, better to not annoy OFBiz users with this issue on screen.

      Thanks!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: