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

Make it possible to skip rendering

XMLWordPrintable

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

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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR