Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15093

Refactor ProtectedBlockFilter to support more use cases

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • 2.6
    • Rendering
    • None
    • Unknown

    Description

      To make it support the same API as Block.getBlocks().

      When Block.getBlocks() was introduced instead of Block.getChildrenByType() we forgot to refactor ProtectedBlockFilter.

      We might also want to implement the need to filter out protected blocks in a different manner. Since ProtectedBlockFilter is internal, we can easily remove it or change its implementation completely.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: