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

Incorrect pattern in resfn call in page template

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
    • Sprint:
      Basel 79
    • Story Points:
      1

      Description

      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"])!} --]
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: