Author: sevein
Date: Mon Jun  6 11:40:33 2011
New Revision: 9136

Log:
Remove system enforcement of custodial history as mandatory in RAD, fixes issue 
1984.

Modified:
   trunk/plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php

Modified: 
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php 
Mon Jun  6 11:09:03 2011        (r9135)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php 
Mon Jun  6 11:40:33 2011        (r9136)
@@ -34,7 +34,7 @@
 
     $this->rad = new sfRadPlugin($this->resource);
 
-    if (1 > strlen($title = $this->resource))
+    if (1 > strlen($title = $this->resource->__toString()))
     {
       $title = $this->context->i18n->__('Untitled');
     }
@@ -126,6 +126,7 @@
         switch 
($this->resource->levelOfDescription->getName(array('sourceCulture' => true)))
         {
           // Only if top level of description
+          /* Disable custodial history validation until CCAD makes 
           case 'Series':
           case 'Fonds':
           case 'Collection':
@@ -137,6 +138,7 @@
             }
 
             break;
+          */
 
           case 'Item':
 

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to