Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node type discrepancy for /apps/cq/core/content/nav #635

Open
aanchalsikka opened this issue Jun 20, 2022 · 1 comment
Open

Node type discrepancy for /apps/cq/core/content/nav #635

aanchalsikka opened this issue Jun 20, 2022 · 1 comment

Comments

@aanchalsikka
Copy link

Need your help to resolve a discrepancy in accesscontroltool-apps-package-3.0.4.zip module.
The module installs “/apps/cq/core/content/nav” and “/apps/cq/core/content/nav/tools” of type sling:OrderedFolder. While corresponding AEM node is of type “nt:unstructured”
This affects the .content.xml that holds information about “/apps/cq/core/content/nav” and its children.

  • The tool is installed as a subpackage via all module. Hence, it creates the node structure before all other project modules.
  • We are adding some child nodes to “/apps/cq/core/content/nav” and "/apps/cq/core/content/nav/tools" via project codebase. Hence, would prefer to have OOTB structure to avoid any issues.
@kwin
Copy link
Member

kwin commented Jun 29, 2022

Although it is correct that /libs/cq/core/content/nav/tools and its parent is of type nt:unstructured (I have checked AEM 6.5.13) I fail to see any incompatibilities in case /apps/cq/core/content/nav/tools and its parent is of the more lenient type sling:OrderedFolder. Do you face any concrete issues due to that? In any case their ancestors (i.e. /libs/cq/core/content up to the root) are of type sling:OrderedFolder. I am happy though to accept a PR adjusting the node types of those two nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants