Open jckautzmann opened 5 years ago
Sling does not provide an API to order nodes. I created a Sling issue to fix this: SLING-7975 - Add a Java API for ordering resources https://issues.apache.org/jira/browse/SLING-7975
Once such an API is provided, we will update the code.
(CQ-4254209)
The Node#orderBefore JCR API is used in ChildrenEditorServlet: https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/blob/development/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/sandbox/internal/servlets/ChildrenEditorServlet.java#L100
We should get rid of all the JCR API usages in our code.