You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Rishabh Daim (Jira)" <ji...@apache.org> on 2026/07/17 05:28:00 UTC

[jira] [Created] (OAK-12315) removeDescendantsAndSelfWithLeavesFirst() should optionally keep the root node

Rishabh Daim created OAK-12315:
----------------------------------

             Summary: removeDescendantsAndSelfWithLeavesFirst() should optionally keep the root node
                 Key: OAK-12315
                 URL: https://issues.apache.org/jira/browse/OAK-12315
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Rishabh Daim


h3. Summary
{{removeDescendantsAndSelfWithLeavesFirst()}} in oak-run's {{oak-mongo.js}} always removed the root node along with its descendants. It now takes an optional second {{removeRoot}} parameter (default {{false}}) so callers can choose to keep the root node and only remove its descendants.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)