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

XWikiDocument.getChildren(XWikiContext context) skips pages with parent like "wiki:docName"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0 RC1
    • 2.0 M4
    • {Unused} Core
    • None
    • Trivial

    Description

      to reproduce:
      create a document called "testParent"
      create a document called "testChild"
      create a document called "testChild2"
      set parent of testChild to "testParent"
      set parent of testChild2 to "xwiki:testParent"

      write script in testParent to call getChildren and print all results.

      observe results include testChild but not testChild2

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            calebjamesdelisle CalebJamesDeLisle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: