[open-ils-commits] r15884 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 17 16:41:07 EDT 2010


Author: phasefx
Date: 2010-03-17 16:41:02 -0400 (Wed, 17 Mar 2010)
New Revision: 15884

Modified:
   branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
Log:
make this use a transaction or replication lag can bite us on patron registration

Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2010-03-17 20:40:49 UTC (rev 15883)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2010-03-17 20:41:02 UTC (rev 15884)
@@ -367,7 +367,7 @@
         $tses->request('open-ils.trigger.event.autocreate', 'au.update', $new_patron, $new_patron->home_ou);
     }
 
-	return flesh_user($new_patron->id(), new_editor(requestor => $user_obj));
+	return flesh_user($new_patron->id(), new_editor(requestor => $user_obj, xact => 1));
 }
 
 



More information about the open-ils-commits mailing list