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

Documents imported with Office importer are not recognised as children

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.5.0
    • Office
    • None
    • Unknown

    Description

      Steps to reproduce:
      1. Make sure to start the Office Server from the Admininstration -> Content -> Office Server
      2. Create a new page for clear results: Foo.WebHome and set it's content to

      {{velocity}}
      $doc.children
      OR
      {{children/}}
      {{/velocity}}

      3. Create a page Bar in the Foo space -> Foo.Bar.WebHome
      4. Create a page Baz with the option to import from Office and select an Office file from the system.

      Expected result:
      In Foo.WebHome page, both Foo.BarWebHome and Foo.BazWebHome are listed.
      Actual result:
      Only Foo.Bar.WebHome is displayed.

      However, both pages can be retrieved with

      $services.query.xwql("where doc.space like '${doc.space}.%'").execute() 

      Attachments

        Activity

          People

            Unassigned Unassigned
            acotiuga Alex Cotiugă
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: