This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-ba10b276-45f9-42bd-879e-d832eac0d99c XWIKI-22358 Open

Documents imported with Office importer are not recognised as children

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-795a7609-571c-464b-b449-7f77c91d3907 Alex Cotiugă created this issue on 26/Jul/24 13:29
 
Summary: Documents imported with Office importer are not recognised as children
Issue Type: cid:jira-generated-image-avatar-ba10b276-45f9-42bd-879e-d832eac0d99c Bug
Affects Versions: 16.5.0
Assignee: Unassigned
Components: Office
Created: 26/Jul/24 13:29
Priority: cid:jira-generated-image-static-major-4d48be45-b5e2-4866-9511-3336f0ab12c9 Major
Reporter: Alex Cotiugă
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()