<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Greetings,</DIV>
<DIV> </DIV>
<DIV>Has someone started a bugzilla report for this? If so, great. Have fun. If 
not, given that Galen’s solution is relatively easy, just tedious, to implement 
across the board, I’ll work on it.</DIV>
<DIV> </DIV>
<DIV>GPML,</DIV>
<DIV>Mark Tompsett</DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=tomascohen@gmail.com 
href="mailto:tomascohen@gmail.com">Tomas Cohen Arazi</A> </DIV>
<DIV><B>Sent:</B> Thursday, June 04, 2015 2:20 PM</DIV>
<DIV><B>To:</B> <A title=koha-devel@lists.koha-community.org 
href="mailto:koha-devel@lists.koha-community.org">koha-devel</A> </DIV>
<DIV><B>Subject:</B> Re: [Koha-devel] Issues with DBIx and nested 
transactions</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr><BR><BR>2015-06-04 14:48 GMT-03:00 Galen Charlton <<A 
href="mailto:gmc@esilibrary.com">gmc@esilibrary.com</A>>:<BR>><BR>> 
Hi,<BR>><BR>> On Thu, Jun 4, 2015 at 1:13 PM, Tomas Cohen Arazi <<A 
href="mailto:tomascohen@gmail.com">tomascohen@gmail.com</A>> wrote:<BR>> 
> to our (abuse?) of $dbh->{AutoCommit} = 0 on the tests.<BR>><BR>> 
Not abuse - one way or another, the DB-dependent tests really ought<BR>> not 
to be make permanent changes to the database.<BR><BR>
<DIV>Agreed.</DIV>
<DIV> </DIV>
<DIV>> > Before someone says it: reverting the commits will put us back to 
the<BR>> > previous state, of course. But it will just hide the problem 
for a while.<BR>><BR>> Time to revert regardless. :)<BR><BR></DIV>
<DIV>Unless we do what you propose :)</DIV>
<DIV> </DIV>
<DIV>> However, here's a diff that shows one way to get DBIx::Class and 
DBI<BR>> to stop fighting over who gets to control the transaction:<BR>> 
<A 
href="http://paste.lisp.org/display/149194">http://paste.lisp.org/display/149194</A><BR><BR>Thanks 
for the solution.<BR><BR>--<BR>Tomás Cohen Arazi<BR>Prosecretaría de 
Informática<BR>Universidad Nacional de Córdoba<BR>✆ +54 351 5353750 ext 
13168<BR>GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F</DIV>
<DIV> </DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Koha-devel mailing 
list<BR>Koha-devel@lists.koha-community.org<BR>http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<BR>website 
: http://www.koha-community.org/<BR>git : http://git.koha-community.org/<BR>bugs 
: http://bugs.koha-community.org/</DIV></DIV></DIV></BODY></HTML>