Bugzilla – Attachment 164008 Details for
Bug 36409
System preference name consistency - change EMail to Email for SerialsDefaultEMailAddress and AcquisitionsDefaultEMailAddress
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36409: Dbrev for existing installations
Bug-36409-Dbrev-for-existing-installations.patch (text/plain), 2.01 KB, created by
Emily Lamancusa (emlam)
on 2024-03-27 15:11:28 UTC
(
hide
)
Description:
Bug 36409: Dbrev for existing installations
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-03-27 15:11:28 UTC
Size:
2.01 KB
patch
obsolete
>From 0d60936a2639ad5c4d81714381da4fdee69ddae5 Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Wed, 27 Mar 2024 10:45:55 -0400 >Subject: [PATCH] Bug 36409: Dbrev for existing installations > >Dbrev to change EMail to Email for SerialsDefaultEMailAddress and >AcquisitionsDefaultEMailAddress >--- > ...EmailAddress_SerialsDefaultEmailAddress.pl | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_36409-fix_syspref_capitalization_AcquisitionsDefaultEmailAddress_SerialsDefaultEmailAddress.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_36409-fix_syspref_capitalization_AcquisitionsDefaultEmailAddress_SerialsDefaultEmailAddress.pl b/installer/data/mysql/atomicupdate/bug_36409-fix_syspref_capitalization_AcquisitionsDefaultEmailAddress_SerialsDefaultEmailAddress.pl >new file mode 100755 >index 0000000000..cbdb1c7436 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_36409-fix_syspref_capitalization_AcquisitionsDefaultEmailAddress_SerialsDefaultEmailAddress.pl >@@ -0,0 +1,30 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "36409", >+ description => "Fix capitalization for SerialsDefaultEMailAddress and AcquisitionsDefaultEMailAddress", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ q{ >+ UPDATE systempreferences >+ SET variable = 'SerialsDefaultEmailAddress' >+ WHERE variable = 'SerialsDefaultEMailAddress'; >+ } >+ ); >+ >+ say $out "Updated system preference 'SerialsDefaultEMailAddress' -> SerialsDefaultEmailAddress"; >+ >+ $dbh->do( >+ q{ >+ UPDATE systempreferences >+ SET variable = 'AcquisitionsDefaultEmailAddress' >+ WHERE variable = 'AcquisitionsDefaultEMailAddress'; >+ } >+ ); >+ >+ say $out "Updated system preference 'AcquisitionsDefaultEMailAddress' -> AcquisitionsDefaultEmailAddress"; >+ }, >+}; >-- >2.34.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 36409
:
164008
|
164009
|
164013
|
164014
|
164188
|
164189