https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39802

--- Comment #8 from Andrew Fuerste-Henry <[email protected]> ---
Updated test plan:
1 - have bib with 6 items, 2 each with homebranch Centerville (CPL), Fairfield
(FFL), Midway (MPL)
2 - have patron with branch=Midway
3 - with Koha set to Centerville, set a due date more than 7 days ago and check
out 1 item from each homebranch to your patron
4 - set Koha to Midway, make sure you still have a due date more than 7 days in
the past, and check remaining items out to patron

At this point your 6 checkouts should have this mix of values:
- holdingbranch: 3 CPL and 3 MPL
- homebranch: 2 CPL, 2 FFL, 2 MPL

5 - set LostChargesControl to "library the item is from"
6 - set HomeOrHoldingBranch to holdingbranch
7 - run the longoverdue cron for CPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library CPL)
8 - confirm in cron output that only the 3 with holdingbranch=CPL would be
acted upon
9 - run the longoverdue cron for FFL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library FFL)
10 - confirm no items would be acted upon
11 - run the longoverdue cron for MPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library MPL)
12 - confirm only the 3 items with holdingbranch=MPL would be acted upon

13 - set HomeOrHoldingBranch to homebranch
14 - run the longoverdue cron for CPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library CPL)
15 - confirm that only the 2 with homebranch=CPL would be acted upon
16 - run the longoverdue cron for FFL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library FFL)
17 - confirm that only the 2 with homebranch=FFL would be acted upon
18 - run the longoverdue cron for MPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library MPL)
19 - confirm that only the 2 with homebranch=MPL would be acted upon

20 - set LostChargesControl to "library the patron is from"
21 - run the longoverdue cron for CPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library CPL)
22 - confirm no items would be acted upon
23 - run the longoverdue cron for FFL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library FFL)
24 - confirm no items would be acted upon
25 - run the longoverdue cron for MPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library MPL)
26 - confirm all 6 items would be acted upon
27 - edit your patron, chnge their branch to CPL
28 - run the longoverdue cron for CPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library CPL)
29 - confirm all 6 items would be acted upon

30 - set LostChargesControl to "library you are logged in at"
31 - run the longoverdue cron for CPL without the --confirm flag (perl
misc/cronjobs/longoverdue.pl -l 7=2 -c 2 --library CPL)
32 - confirm cron tells you this doesn't work: "There is no branch set for the
cron user, LostCharge Control is set to 'library you are logged in at'.
No branches will satisfy this requirement - exiting."

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to