Uploaded image for project: 'Magnolia Site Module'
  1. Magnolia Site Module
  2. MGNLSITE-34 Harmonize SiteAwareTemplateAvailability
  3. MGNLSITE-33

SiteAwareTemplateAvailability only works with renderType=site and thus prohibits usage of other renderers in a site definition

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • 1.0.5
    • None
    • api
    • Saigon 32

    Description

      Current SiteAwareTemplateAvailability proves to be too restrictive when working with e.g. jsp (sub-) templates. It used to be possible to combine various templates / renderTypes in one site definition.

      Additional details from Tobias:
      Allow site definition template availability on templates not using the site renderer.
      This is kind of a big change but it would make sense to use the template availability configuration on the site definition also for templates not using the site renderer.

      For instance plain text templates or jsp templates.

      And for Blossom templates which is a special case in that those templates use the blossom renderer to call into Spring and then render their views using the site renderer. In this scenario SiteAwareTemplateAvailability checks the render type and sees blossom and therefor fallback to the default template availability strategy.

      Attachments

        Issue Links

          Activity

            People

              ngoc.nguyenthanh Ngoc Nguyenthanh
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5d
                  5d
                  Remaining:
                  Time Spent - 3d 6.5h Remaining Estimate - 4.5h
                  4.5h
                  Logged:
                  Time Spent - 3d 6.5h Remaining Estimate - 4.5h Time Not Required
                  3d 6.5h