Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6838

Relative include in ftl doesn't work on Win7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.4.9
    • freemarker
    • None

      Relative include in ftl doesn't work on Win7.

      on Mac if you do include in freemarker with relative path e.g. include '../includes/file.ftl' it works (file is in 'include' folder which is a sibling to folder with current file). Also simply include 'file.ftl' (when file is in same directory) works on Mac, but both doesn't on Windows 7.

      Not sure if there must be some different usage of dots and slash for win, or if its a bug. Anyhow having relative path (from resources.dir - light modules folder) works fine on win.

        Acceptance criteria

              Unassigned Unassigned
              tgregovsky Tomáš Gregovský
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD