Bugzilla – Attachment 61313 Details for
Bug 6979
LDAP authentication fails during password comparison
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6979 - Fix Already in a transaction error
Bug-6979---Fix-Already-in-a-transaction-error.patch (text/plain), 1.16 KB, created by
Martin Renvoize (ashimema)
on 2017-03-20 14:27:58 UTC
(
hide
)
Description:
Bug 6979 - Fix Already in a transaction error
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2017-03-20 14:27:58 UTC
Size:
1.16 KB
patch
obsolete
>From 517411e1018e65ef7aedbcc13576bfc0bde3ed35 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 15 Nov 2016 10:30:16 +0000 >Subject: [PATCH] Bug 6979 - Fix Already in a transaction error > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Auth_with_ldap.t | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Auth_with_ldap.t b/t/db_dependent/Auth_with_ldap.t >index 90365c5..cf4b700 100755 >--- a/t/db_dependent/Auth_with_ldap.t >+++ b/t/db_dependent/Auth_with_ldap.t >@@ -31,8 +31,7 @@ use Koha::Patrons; > my $dbh = ''; > > # Start transaction >-my $database = Koha::Database->new(); >-my $schema = $database->schema(); >+my $schema = Koha::Database->new->schema; > $schema->storage->txn_begin(); > > my $builder = t::lib::TestBuilder->new(); >@@ -405,7 +404,7 @@ sub mock_net_ldap { > 'search', > sub { > >- $remaining_entry = 1 >+ $remaining_entry = 1; > > return mock_net_ldap_search( > { >@@ -502,6 +501,6 @@ sub is_admin_bind { > return 0; > } > >-$schema->storage->txn_rollback; >+$schema->storage->txn_rollback(); > > 1; >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6979
:
5723
|
46646
|
46654
|
46659
|
46698
|
46863
|
57480
|
57481
|
57482
|
57483
|
57963
|
57964
|
57965
|
57966
|
61295
|
61296
|
61297
|
61298
|
61310
|
61311
|
61312
| 61313