Author: jablko
Date: Fri Oct 15 13:45:17 2010
New Revision: 8165

Log:
Oops, rollback commit 8161

Modified:
   trunk/lib/model/QubitInformationObject.php

Modified: trunk/lib/model/QubitInformationObject.php
==============================================================================
--- trunk/lib/model/QubitInformationObject.php  Fri Oct 15 13:23:32 2010        
(r8164)
+++ trunk/lib/model/QubitInformationObject.php  Fri Oct 15 13:45:17 2010        
(r8165)
@@ -155,6 +155,9 @@
     {
       foreach ($this->informationObjectsRelatedByparentId->transient as $child)
       {
+        // TODO Needed if $this is new, should be transparent
+        $child->parent = $this;
+
         try
         {
           $child->save();
@@ -171,6 +174,9 @@
     {
       $event->setIndexOnSave(false);
 
+      // TODO Needed if $this is new, should be transparent
+      $event->informationObject = $this;
+
       try
       {
         $event->save();
@@ -186,6 +192,9 @@
     {
       $digitalObject->indexOnSave = false;
 
+      // TODO Needed if $this is new, should be transparent
+      $digitalObject->informationObject = $this;
+
       try
       {
         $digitalObject->save();
@@ -202,6 +211,9 @@
     {
       $status->setIndexOnSave(false);
 
+      // TODO Needed if $this is new, should be transparent
+      $status->object = $this;
+
       $status->save();
     }
 

-- 
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