Bugzilla – Attachment 65843 Details for
Bug 19071
Fix Circulation/issue.t and Members/IssueSlip.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19071: Fix Circulation/issue.t
Bug-19071-Fix-Circulationissuet.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2017-08-10 18:43:04 UTC
(
hide
)
Description:
Bug 19071: Fix Circulation/issue.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-10 18:43:04 UTC
Size:
1.40 KB
patch
obsolete
>From 40dc48621469955bd092c11e6f22b872a6c22627 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 10 Aug 2017 09:13:44 +0200 >Subject: [PATCH] Bug 19071: Fix Circulation/issue.t > >Resolve: >DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails (`koha_master`.`clubs`, CONSTRAINT `clubs_ibfk_2` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`)) [for Statement "DELETE FROM branches"] at t/db_dependent/Circulation/issue.t line 65. > >Cause: >See also bug 19070. >We do not need to delete all branches here. > >Test plan: >Run t/db_dependent/Circulation/issue.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Circulation/issue.t | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index 5adb123665..fde7613382 100644 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -62,7 +62,6 @@ my $builder = t::lib::TestBuilder->new(); > $dbh->do(q|DELETE FROM issues|); > $dbh->do(q|DELETE FROM items|); > $dbh->do(q|DELETE FROM borrowers|); >-$dbh->do(q|DELETE FROM branches|); > $dbh->do(q|DELETE FROM categories|); > $dbh->do(q|DELETE FROM accountlines|); > $dbh->do(q|DELETE FROM issuingrules|); >-- >2.11.0
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 19071
:
65786
|
65787
|
65788
|
65825
|
65826
| 65843 |
65844