Bugzilla – Attachment 164910 Details for
Bug 36343
The 'after_biblio_action' hooks have an inconsistent signature compared to before_biblio_action, and actions in reserves and items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36343: (QA follow-up) Add warning in DB update
Bug-36343-QA-follow-up-Add-warning-in-DB-update.patch (text/plain), 1.10 KB, created by
Martin Renvoize (ashimema)
on 2024-04-16 12:14:39 UTC
(
hide
)
Description:
Bug 36343: (QA follow-up) Add warning in DB update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-16 12:14:39 UTC
Size:
1.10 KB
patch
obsolete
>From 41ef1087d762d6c6d2ec75d1b7372b6b67261e9c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 16 Apr 2024 13:13:55 +0100 >Subject: [PATCH] Bug 36343: (QA follow-up) Add warning in DB update > >--- > installer/data/mysql/atomicupdate/bug_36343.pl | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_36343.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_36343.pl b/installer/data/mysql/atomicupdate/bug_36343.pl >new file mode 100755 >index 00000000000..0de4f4a4123 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_36343.pl >@@ -0,0 +1,13 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "36343", >+ description => "Update plugin hooks for consistency", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ say $out "WARNING: Plugin authors should consider changes introduced here"; >+ say $out "WARNING: after_biblio_action, after_item_action and patron_generate_userid hooks now pass data inside a 'payload' hash"; >+ }, >+}; >-- >2.44.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 36343
:
163328
|
163768
|
164455
|
164456
| 164910