James Raynor created SLING-12798:
------------------------------------
Summary: 2.json Fails to Retrieve Child Pages for Page Nodes
Key: SLING-12798
URL: https://issues.apache.org/jira/browse/SLING-12798
Project: Sling
Issue Type: Bug
Components: App CMS
Affects Versions: App CMS 1.1.8
Reporter: James Raynor
Attachments: 1.Node Browser.png, 2.JSON.png
Recently, I had some free time and tested the latest SlingCMS system. I was
trying to get the JSON of a page's child pages but found that I couldn't
retrieve it correctly.
*Steps to Reproduce:*
# When a page (let's call it xxx) has child pages, information about these
child pages cannot be retrieved from xxx.2.json.
# If the child pages are placed under the page's jcr:content node, they can
then be retrieved. However, this is not the correct content structure.
# If xxx is a folder or a sling:Site, xxx.2.json correctly retrieves the child
pages. The issue only occurs when xxx is a page.
I tested this on an AEM system, and this problem does not occur; xxx.2.json
correctly retrieves child pages when xxx is a page.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)