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

Make RenderableDefinition.getAutoGeneration() also work for Page Templates and Component Templates, and not just for Area Templates.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.4.9
    • None

      Auto generation is defined on:
      info.magnolia.rendering.template.RenderableDefinition.getAutoGeneration()
      That mean it can be officially be configured on Pages & Areas & Components.

      But it will work only on Areas, because reading and executing the bean is only implemented in:
      info.magnolia.templating.elements.AreaElement.tryToCreateAreaNode(Node)

      It should be moved/added to the super class shared for all three templating elements:
      info.magnolia.templating.elements.AbstractContentTemplatingElement

      So it works also for pages and components, as the bean indicates.

        Acceptance criteria

              Unassigned Unassigned
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD