Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3234

Make it possible to skip rendering

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 4.3.3, 4.4
    • None
    • templating
    • None

    Description

      When realizing the new redirect functionality the need arose for skipping the rendering of templates under certain conditions. This can be achieved by skipping the call to the onRender(..) method in AbstractRenderer.render(..) method when the determineTemplatePath(..) method for a certain template returns null. So far, this caused an IllegalStateException but now this should not be the case anymore and a null templatePath would simply mean 'do not render anything'.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR