Bugzilla – Attachment 21892 Details for
Bug 10993
Transfer limits should be checked when placing a hold/reservation in OPAC.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
quickie test document
bug_10993_tests (text/plain), 2.04 KB, created by
Olli-Antti Kivilahti
on 2013-10-09 10:16:24 UTC
(
hide
)
Description:
quickie test document
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2013-10-09 10:16:24 UTC
Size:
2.04 KB
patch
obsolete
>----------------------- >--- opac-reserve.pl --- >----------------------- > >Testing showing multiple biblios and limiting by UseBranchTranferLimits > > >CASE1: get single alert. > >Biblio1 >Item's holdingbranch pickupbranch canReserve? >CPL IPT 0 >CPL IPT 0 >FFL IPT 1 >IPT IPT 1 >No notifications shown > >Biblio2 >Item's holdingbranch pickupbranch canReserve? >CPL IPT 0 >CPL IPT 0 >Show "No transfers available notification" > >Biblio3 >Item's holdingbranch pickupbranch canReserve? >no items >Show "No items available" > >Submitting holds:> alert(Biblio2 has no transferrable items), submit fails. > > >CASE2: get multiple alerts > >Biblio1 >Item's holdingbranch pickupbranch canReserve? >CPL KIR 0 >CPL KIR 0 >FFL KIR 0 >IPT KIR 0 >Show "No transfers available notification" > >Biblio2 >Item's holdingbranch pickupbranch canReserve? >CPL KIR 0 >CPL KIR 0 >Show "No transfers available notification" > >Biblio3 >Item's holdingbranch pickupbranch canReserve? >no items >Show "No items available" > >Submitting holds:> alert(Biblio1 && Biblio2 has no transferrable items), submit fails. > > > >CASE3: place multiple holds > >Biblio1 >Item's holdingbranch pickupbranch canReserve? >CPL CPL 1 >CPL CPL 1 >FFL CPL 0 >IPT CPL 1 >No notifications shown > >Biblio2 >Item's holdingbranch pickupbranch canReserve? >CPL CPL 1 >CPL CPL 1 >No notifications shown > >Biblio3 >Item's holdingbranch pickupbranch canReserve? >no items >Show "No items available" > >Submitting holds:> submit ok. > > > >CASE4: Break the bejesus out of this crap! >It is possible to place a title-level hold on a biblio even if no items are transferrable. >This is done by smartly messing around with the form and pressing enter at the right position. >Managed to submit the form once, but haven't been able to replicate the issue. >OR >Make a POST-request from an external site. Forging biblionumbers- and selecteditems-lists and other osed parameters. > >BranchTransferLimits are checked in business layer (opac-reserve.pl) as well after submitting the form. >No special error is given for the failing reservation. One should know better.
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 Raw
Actions:
View
Attachments on
bug 10993
:
21891
|
21892
|
22000
|
22001
|
22322
|
23163