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

Exclusion of nodes not working on inheritable page components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.3
    • 4.5
    • core
    • None

    Description

      Exclusion on components more fine-grained than page seems not to work in the context of a page. I.e. exclude /mysite/mypage/promos/0
      from a given channel. Direct requests to that content correctly return 404 when the channel is matched. Requests to /mysite/mypage, on the contrary, will show the excluded node even if the channel is matched. The wrapping to filter components based on the current channel is done at {{ info.magnolia.rendering.renderer.AbstractRenderer#wrapWithChannelVisibilityWrapper()}}. It seems it has to do with inheritance because, i.e. it works on teasers area (not inheritable) components in STK's demo-project home page and not on promos area (inheritable) on the same page.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                tmattsson Tobias Mattsson
                fgrilli Federico Grilli
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD