jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r421892 - in /jackrabbit/trunk/jackrabbit/src: main/java/org/apache/jackrabbit/core/nodetype/ test/java/org/apache/jackrabbit/test/api/nodetype/spec/
Date Fri, 14 Jul 2006 12:29:04 GMT
Author: stefan
Date: Fri Jul 14 05:29:04 2006
New Revision: 421892

URL: http://svn.apache.org/viewvc?rev=421892&view=rev
Log:
JCR-479: incorrect definition of built-in node type nt:hierarchyNode

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.cnd
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.cnd
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.cnd?rev=421892&r1=421891&r2=421892&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.cnd
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.cnd
Fri Jul 14 05:29:04 2006
@@ -114,7 +114,7 @@
 //------------------------------------------------------------------------------
 
 [nt:hierarchyNode]
-  - jcr:created (date) mandatory autocreated protected initialize
+  - jcr:created (date) autocreated protected initialize
 
 [nt:folder] > nt:hierarchyNode
   + * (nt:hierarchyNode) version

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml?rev=421892&r1=421891&r2=421892&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
Fri Jul 14 05:29:04 2006
@@ -93,7 +93,7 @@
         <supertypes>
             <supertype>nt:base</supertype>
         </supertypes>
-        <propertyDefinition name="jcr:created" requiredType="Date" autoCreated="true"
mandatory="true" onParentVersion="INITIALIZE" protected="true" multiple="false"/>
+        <propertyDefinition name="jcr:created" requiredType="Date" autoCreated="true"
mandatory="false" onParentVersion="INITIALIZE" protected="true" multiple="false"/>
     </nodeType>
     <nodeType name="nt:file" isMixin="false" hasOrderableChildNodes="false" primaryItemName="jcr:content">
         <supertypes>

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt?rev=421892&r1=421891&r2=421892&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt
Fri Jul 14 05:29:04 2006
@@ -14,7 +14,7 @@
   ValueConstraints []
   DefaultValues null
   AutoCreated true
-  Mandatory true
+  Mandatory false
   OnParentVersion INITIALIZE
   Protected true
   Multiple false



Mime
View raw message