Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-74

Incorrect pattern in resfn call in page template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0
    • None
    • Basel 79
    • 1

      In mgnl-cli-prototypes/page/template.ftl the resfn pattern is incorrect. The last . would either need to be escaped or removed.
      Recommend removing the last dot to keep the pattern as simple as possible.
      So the patterns should be:

      [#-- ${resfn.css(["__lightDevModuleFolder__/.*css"])!} --]
      [#-- ${resfn.js(["__lightDevModuleFolder__/.*js"])!} --]
      

        Acceptance criteria

              rkowalski Robert Kowalski
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD