jmcnally    01/11/12 16:00:01

  Modified:    src/templates/om Object.vm
  Log:
  patch to save objects related to this object when invoking save on this object
  was resulting in an infinite loop.  commented out until it can be investigated
  
  Revision  Changes    Path
  1.15      +5 -0      jakarta-turbine-torque/src/templates/om/Object.vm
  
  Index: Object.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/Object.vm,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Object.vm 2001/11/11 19:43:14     1.14
  +++ Object.vm 2001/11/13 00:00:00     1.15
  @@ -853,6 +853,9 @@
         if (!alreadyInSave)
         {
           alreadyInSave = true;
  +
  +#* the following code can cause an infinite loop, needs more thought
  +System.out.println("Entering save for " + this);
        #if ($pVars.size() != 0)
   
           // We call the save method on the following object(s) if they
  @@ -872,6 +875,8 @@
           }   
         #end
       #end
  +*#
  +
     #end
   
           // If this object has been modified, then save it to the database.
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to