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

STKTemplate.java should not allocate the header by new

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.2
    • 1.1.2
    • templates
    • None

    Description

      When defining/overwriting a new class for the 'header' in site definition, the templates throw generally an exception.
      This is due to the new allocation in the template class. The new allocation is always closer in the merging process than the defined in site definition.

      For being able to use template definitions, the header value must be defined with the class property pointing to the adapted header class.
      This has the impact, that standard STK templates can't be used anymore, because the STK standard templates don't know the new adapted class.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: