Netcentric / accesscontroltool

Rights and roles management for AEM made easy
Eclipse Public License 1.0
147 stars 92 forks source link

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

Open aanchalsikka opened 2 years ago

aanchalsikka commented 2 years ago

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.

kwin commented 2 years ago

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.