[open-ils-commits] r15883 - trunk/Open-ILS/src/perlmods/OpenILS/Application (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 17 16:40:55 EDT 2010
Author: phasefx
Date: 2010-03-17 16:40:49 -0400 (Wed, 17 Mar 2010)
New Revision: 15883
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
Log:
make this use a transaction or replication lag can bite us on patron registration
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm 2010-03-17 19:18:37 UTC (rev 15882)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm 2010-03-17 20:40:49 UTC (rev 15883)
@@ -392,7 +392,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));
}
sub apply_invalid_addr_penalty {
More information about the open-ils-commits
mailing list