You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/12/08 15:50:23 UTC

[sling-site] branch master updated: Directories are created as sling:Folder not nt:folder

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new eaeeb26  Directories are created as sling:Folder not nt:folder
eaeeb26 is described below

commit eaeeb26ca08c7b078bc4e2a0f4e7ea52847211d6
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Dec 8 16:47:37 2021 +0100

    Directories are created as sling:Folder not nt:folder
---
 .../documentation/bundles/content-loading-jcr-contentloader.md        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/jbake/content/documentation/bundles/content-loading-jcr-contentloader.md b/src/main/jbake/content/documentation/bundles/content-loading-jcr-contentloader.md
index 467b411..cc5590a 100644
--- a/src/main/jbake/content/documentation/bundles/content-loading-jcr-contentloader.md
+++ b/src/main/jbake/content/documentation/bundles/content-loading-jcr-contentloader.md
@@ -58,7 +58,7 @@ Depending on the bundle entry found in the location indicated by the Sling-Initi
 
 ### Directories
 
-Unless a node with the name of the directory already exists or has been defined in an XML or JSON descriptor file (see below) a directory is created as a node with the primary node type "nt:folder" in the repository.
+Unless a node with the name of the directory already exists or has been defined in an XML or JSON descriptor file (see below) a directory is created as a node with the primary node type `sling:Folder` in the repository (which has no restrictions in terms of child nodes and properties).
 
 ### Files
 
@@ -354,4 +354,4 @@ When adding a `security:acl` object to a content node definition in JSON you can
 
 The initial content found in the [SLING-INF folder of the launchpad test services](https://https://github.com/apache/sling-org-apache-sling-launchpad-test-services/tree/master/src/main/resources/SLING-INF) is verified by the [InitialContentTest](https://github.com/apache/sling-org-apache-sling-launchpad-integration-tests/blob/master/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/InitialContentTest.java) when running the *launchpad testing* integration tests.
 
-Those tests can be used as verified examples of initial content loading. Contributions are welcome to improve the coverage of those tests.
\ No newline at end of file
+Those tests can be used as verified examples of initial content loading. Contributions are welcome to improve the coverage of those tests.