Bugzilla – Attachment 103941 Details for
Bug 25303
Koha::Objects->delete should not skip overridden object class ->delete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25303: Effectively delete the city to avoid endless loop
Bug-25303-Effectively-delete-the-city-to-avoid-end.patch (text/plain), 724 bytes, created by
Jonathan Druart
on 2020-04-29 13:47:48 UTC
(
hide
)
Description:
Bug 25303: Effectively delete the city to avoid endless loop
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-29 13:47:48 UTC
Size:
724 bytes
patch
obsolete
>From 2e790f9a2859a054cfbfd76e1718e4a3be448ab5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 29 Apr 2020 15:47:27 +0200 >Subject: [PATCH] Bug 25303: Effectively delete the city to avoid endless loop > >--- > t/db_dependent/Koha/Objects.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Koha/Objects.t b/t/db_dependent/Koha/Objects.t >index c81b83358c..ba42fb2665 100644 >--- a/t/db_dependent/Koha/Objects.t >+++ b/t/db_dependent/Koha/Objects.t >@@ -816,6 +816,7 @@ subtest 'delete() tests' => sub { > $mocked_city->mock( > 'delete', > sub { >+ shift->_result->delete; > warn "delete called!"; > } > ); >-- >2.20.1
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 25303
:
103855
|
103859
|
103864
|
103865
| 103941 |
103998
|
104018
|
104027