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

STKPageModel should return List<ContentMap>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 2.0.13
    • None

      The return type for STKPageModel#getCategories() is List<?>. The method comment for STKPageModel#getCategories() suggests the method returns List<Node>, but it really returns List<ContentMap>, since that is what STKTemplatingFunctions#getCategories(Node page) returns.

        Acceptance criteria

              Unassigned Unassigned
              breun Nils Breunese
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: