[MGNLSTK-1128] STKSiteManager#getAssignedSite has confusing signature - does not use parameter - maybe does not work. Created: 04/Mar/13  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.0.7
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Ulrich Schwar Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

any


Template:
Acceptance criteria:
Empty
Date of First Response:
Visible to:
Sirik Loosman

 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..



 Comments   
Comment by Jan Haderka [ 02/Jul/18 ]

STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation.

Generated at Mon Feb 12 07:33:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.