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

STKSiteManager#getAssignedSite has confusing signature - does not use parameter - maybe does not work.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • 2.0.7
    • None
    • None
    • any

    Description

      Line 70 in info.magnolia.module.templatingkit.sites.STKSiteManager:

      @Override
      public Site getAssignedSite(Node content)

      { return moduleProvider.get().getSite(); }

      --> content is not used, and in my case didn't return the site, but an empty instance of Site.
      If this is here for compatibility only, it should be deprecated with an according comment.

      Or maybe I'm just not getting what this code should do..

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ulrich Ulrich Schwar
              Sirik Loosman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: