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

Wrong behavior of EntityReferenceSet when including a new document in the middle of existing nested spaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.2-milestone-1
    • Fix Version/s: 7.2-milestone-2
    • Component/s: Model
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When doing

      includesDocument("wiki:space.nestedspace.document");
      includesDocument("wiki:space.document");
      

      "wiki:space.document" won't be matched.

      Works well with

      includesDocument("wiki:space.document");
      includesDocument("wiki:space.nestedspace.document");
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: