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

Inheritance of area not working when area node is not created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.5, 5.5.1, 5.5.2
    • templating
    • None

      We are using the following prototype:

        footer:
          createAreaNode: false
          inheritance:
            enabled: true
            components: all
          editable: false
          dialog: jonglaan:areas/footer
          renderType: freemarker
          templateScript: /mymodule/templates/areas/footer.ftl
          type: noComponent
          areas:
            metaLinks:
              createAreaNode: false
              inheritance:
                enabled: true
                components: all
              maxComponents: 1
              availableComponents:
                linkList:
                  id: mymodule:components/linkList
      

      The home template is using the following definition:

      areas:
        footer:
          editable: true
          createAreaNode: true
          areas:
            metaLinks:
              createAreaNode: true
      

      The inheritance of the footer area is not working. When the createAreaNode is set to true in the prototype, it's working again.

      I don't see the reason of creating all the footer area nodes in every page when only the homepage has real content in it.

        Acceptance criteria

              Unassigned Unassigned
              jdiepeveen Jordie Diepeveen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD