Bugzilla – Attachment 41235 Details for
Bug 13572
Add not-expired parameter to borrowers-force-messaging-defaults script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug13572 - Changed "borrowers-force-messaging-defaults" --help parameter's result to better explain the new functionality
Bug13572---Changed-borrowers-force-messaging-defau.patch (text/plain), 2.03 KB, created by
Rémi Mayrand-Provencher
on 2015-07-30 14:57:45 UTC
(
hide
)
Description:
Bug13572 - Changed "borrowers-force-messaging-defaults" --help parameter's result to better explain the new functionality
Filename:
MIME Type:
Creator:
Rémi Mayrand-Provencher
Created:
2015-07-30 14:57:45 UTC
Size:
2.03 KB
patch
obsolete
>From 5d0dc4d8ce46353051c27603d39eac3d92fd780a Mon Sep 17 00:00:00 2001 >From: remi <remi.mayrand-provencher@inLibro.com> >Date: Thu, 30 Jul 2015 10:53:14 -0400 >Subject: [PATCH] Bug13572 - Changed "borrowers-force-messaging-defaults" > --help parameter's result to better explain the new > functionality >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >New test plan (well, a clearer version): > >1) Apply both patches >2) Create a new patron with random values, except for it expiration date, make it expired (Patrons > New Patron > Student) >3) Enable the system preference called âEnhancedMessagingPreferencesâ >4) In âAdministration" > "Patron categories" > Student, modify the "days in advance", then click "Save" >5) run the script "./misc/maintenance/borrowers-force-messaging-defaults --doit --onlyactives" >6) Validate that the student created in step 2 hasn't changed (Patrons > search) >7) Validate that any other student that isn't expired has changed. >--- > .../maintenance/borrowers-force-messaging-defaults | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/misc/maintenance/borrowers-force-messaging-defaults b/misc/maintenance/borrowers-force-messaging-defaults >index c41129a..db54401 100755 >--- a/misc/maintenance/borrowers-force-messaging-defaults >+++ b/misc/maintenance/borrowers-force-messaging-defaults >@@ -93,6 +93,7 @@ force-borrower-messaging-defaults > force-borrower-messaging-defaults --help > force-borrower-messaging-defaults --doit > force-borrower-messaging-defaults --doit --truncate >+ force-borrower-messaging-defaults --doit --onlyactives > > =head1 DESCRIPTION > >@@ -113,13 +114,17 @@ Prints this help > > =item B<--doit> > >-Process actually the borrowers. >+Actually update the borrowers. > > =item B<--truncate> > > Truncate all borrowers transport preferences before (re-)creating them. It > affects borrower_message_preferences table. > >+=item B<--onlyactives> >+ >+Will only update active borrowers (borrowers who didn't pass their expiration date). >+ > =back > > =cut >-- >1.7.9.5
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 13572
:
35164
|
41235
|
46179
|
46180
|
58206
|
67959
|
67960
|
67961
|
68059
|
68060
|
68061
|
68183