[exo-jcr-commits] exo-jcr SVN: r937 - jcr/branches/1.12.0-JBC/component/core/src/test/resources/conf/test.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 7 11:59:09 EST 2009


Author: areshetnyak
Date: 2009-12-07 11:59:09 -0500 (Mon, 07 Dec 2009)
New Revision: 937

Modified:
   jcr/branches/1.12.0-JBC/component/core/src/test/resources/conf/test/nodetypes-usecase.xml
Log:
EXOJCR-293 : The property with type reference should not have default value.

Modified: jcr/branches/1.12.0-JBC/component/core/src/test/resources/conf/test/nodetypes-usecase.xml
===================================================================
--- jcr/branches/1.12.0-JBC/component/core/src/test/resources/conf/test/nodetypes-usecase.xml	2009-12-07 16:07:05 UTC (rev 936)
+++ jcr/branches/1.12.0-JBC/component/core/src/test/resources/conf/test/nodetypes-usecase.xml	2009-12-07 16:59:09 UTC (rev 937)
@@ -98,9 +98,6 @@
          <propertyDefinition name="rma:superseded" requiredType="Reference" autoCreated="true" mandatory="false" onParentVersion="COPY"
             protected="false" multiple="false">
             <valueConstraints />
-            <defaultValues>
-               <defaultValue>false</defaultValue>
-            </defaultValues>
          </propertyDefinition>
          <propertyDefinition name="rma:recordNote" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
             protected="false" multiple="false">
@@ -220,38 +217,38 @@
          </propertyDefinition>
       </propertyDefinitions>
    </nodeType -->
-
-   <nodeType name="exo:myType" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="prop1" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:archiveable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
-      <propertyDefinitions>
-         <propertyDefinition name="exo:restorePath" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-   <nodeType name="exo:rss-enable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
-      <propertyDefinitions>
-         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
+
+   <nodeType name="exo:myType" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="prop1" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
    </nodeType>
 
+   <nodeType name="exo:archiveable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:restorePath" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+   <nodeType name="exo:rss-enable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
 </nodeTypes>



More information about the exo-jcr-commits mailing list