Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-957

Internal link component throws freemarker exception if target is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.4
    • 2.0.2
    • demoproject
    • None

    Description

      Tested on demoauthor instance. Try to reference a not existing page in a internal link component and a freemarker stack trace will occure.

      stkFunctions.getReferencedContent(content, "link", RepositoryConstants.WEBSITE) throws an uncatched runtime exception.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rsiska Robert Šiška
              frank.sommer Frank Sommer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: