You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by tr...@apache.org on 2013/11/26 14:01:38 UTC

svn commit: r1545644 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java

Author: tripod
Date: Tue Nov 26 13:01:38 2013
New Revision: 1545644

URL: http://svn.apache.org/r1545644
Log:
OAK-1224 Repository descriptor "node.type.management.same.name.siblings.supported" should be false

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java?rev=1545644&r1=1545643&r2=1545644&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java Tue Nov 26 13:01:38 2013
@@ -204,7 +204,8 @@ public class ContentRepositoryImpl imple
                         valueFactory.createValue(PropertyType.TYPENAME_UNDEFINED)
                 }, false, true)
                 .put(NODE_TYPE_MANAGEMENT_RESIDUAL_DEFINITIONS_SUPPORTED, trueValue, true, true)
-                .put(NODE_TYPE_MANAGEMENT_SAME_NAME_SIBLINGS_SUPPORTED, trueValue, true, true)
+                // SNS are not supported (OAK-1224)
+                .put(NODE_TYPE_MANAGEMENT_SAME_NAME_SIBLINGS_SUPPORTED, falseValue, true, true)
                 .put(NODE_TYPE_MANAGEMENT_VALUE_CONSTRAINTS_SUPPORTED, trueValue, true, true)
                 .put(NODE_TYPE_MANAGEMENT_UPDATE_IN_USE_SUPORTED, falseValue, true, true)
                 .put(OPTION_ACCESS_CONTROL_SUPPORTED, trueValue, true, true)
@@ -218,7 +219,7 @@ public class ContentRepositoryImpl imple
                 .put(OPTION_QUERY_SQL_SUPPORTED, falseValue, true, true)
                 .put(OPTION_RETENTION_SUPPORTED, falseValue, true, true)
                 .put(OPTION_SHAREABLE_NODES_SUPPORTED, falseValue, true, true)
-                 // todo: let plugin set the descriptor
+                // todo: let plugin set the descriptor
                 .put(OPTION_SIMPLE_VERSIONING_SUPPORTED, falseValue, true, true)
                 .put(OPTION_TRANSACTIONS_SUPPORTED, falseValue, true, true)
                 .put(OPTION_UNFILED_CONTENT_SUPPORTED, falseValue, true, true)