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

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


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

Modified:
   branches/rel_1_6_0/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_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2010-03-17 20:41:02 UTC (rev 15884)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2010-03-17 20:41:09 UTC (rev 15885)
@@ -340,7 +340,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