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

STKTemplatingFunctions.getSite() for Mag 5.4 will never return a Site

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Major
    • None
    • 2.9.3
    • None
    • None

    Description

      When you want to use STK templates (i.e. handled by the STKRenderer) in a Magnolia 5.4 MTE site these components will never get a site:

      On line 220 a info.magnolia.module.site.Site is successfully fetched
      On the very next line, it is checked whether it is an instance of info.magnolia.module.templatingkit.sites.Site which of course will never be true. Therefore the method returns null.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              will Will Scheidegger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: