| 
      
      
      From: Ray Z. <rz...@co...> - 2001-11-26 15:45:17
      
     | 
| Chris,
It looks like there's been a change in the behavior of clone from 
0.52 to 0.53. Previously it was possible to do ...
	$obj1 = MyClass->fetch($id);
	$obj2 = $obj1->clone;
	$obj2->save;
... with no problems since the call to clone would set the id to 
undef in the clone. With SPOPS-0.53, the id is copied as well so the 
save attempts an insert and fails with duplicate key problems.
Bug or feature?
-- 
  Ray Zimmerman  / e-mail: rz...@co... / 428-B Phillips Hall
   Sr Research  /   phone: (607) 255-9645  /  Cornell University
    Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853
 |