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

Refactor ProtectedBlockFilter to support more use cases

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated: