Summary: | Placing holds from cart fails silently | ||
---|---|---|---|
Product: | Koha | Reporter: | Liz Rea <wizzyrea> |
Component: | Hold requests | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | minor | ||
Priority: | P5 - low | CC: | kyle, smoreland, tomascohen, veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 4231 - Placing holds from cart fails silently
[SIGNED-OFF] Bug 4231 - Placing holds from cart fails silently [PASSED QA] Bug 4231 - Placing holds from cart fails silently |
Description
Chris Cormack
2010-05-21 01:24:42 UTC
> A screencast of a silent fail when the cart includes a bib with no items
> attached.
>
> http://screencast.com/t/ZWQyNGY2NGQ
This is the behavior I observe in current master.
Created attachment 30653 [details] [review] Bug 4231 - Placing holds from cart fails silently This patch adds a more meaningfull message if multiple biblios with no items attached are in the cart. To test: - Add biblios with and without items to cart - Go to cart, select all and click 'Place hold' Without patch, message reads: Cannot place hold: this record has no items attached. With patch, message reads: Cannot place hold: one or more records without items attached. The patch is an improvement but why block the entire operation just because some records have no items? The place hold screen is capable of functioning even if one or more titles have no items. As far as I can tell they are simply skipped. Can we pass an accurate message to the place hold screen while still allowing holds on the titles with items? The aim of this patch is just to add a better explanation for the current behaviour, because the existing explanation makes no sense with multiple hold requests. It is a small improvement for the users until somebody finds time to improve the whole functionallity. Created attachment 30705 [details] [review] [SIGNED-OFF] Bug 4231 - Placing holds from cart fails silently This patch adds a more meaningfull message if multiple biblios with no items attached are in the cart. To test: - Add biblios with and without items to cart - Go to cart, select all and click 'Place hold' Without patch, message reads: Cannot place hold: this record has no items attached. With patch, message reads: Cannot place hold: one or more records without items attached. Signed-off-by: Owen Leonard <oleonard@myacpl.org> I am sorry, but I have problems reproducing the behaviour. I tried addings holds from the cart with several combinations of records. I am always taken to the opac holds screen with multiple entries for my records. Those with no items show 'no items available' and the others show the items and normal hold options. I didn't succeed in triggering the message. I did a quick test on 3.17.00.013, Staff client Do a search that results in biblos without items. Select some of them (Checkbox at the left of the list) Add the selection to cart Open Cart Select all of the biblios Click on Link 'Place hold' Result copy-pasted from screen :-) Cannot place hold: this record has no items attached. I can't spot a difference to how I did it - I think we need another set of eyes here. For me it worked nicely with and without the patches, the messages never showing up. (In reply to Katrin Fischer from comment #6) > I am sorry, but I have problems reproducing the behaviour. I tried addings > holds from the cart with several combinations of records. I am always taken > to the opac holds screen with multiple entries for my records. Those with no > items show 'no items available' and the others show the items and normal > hold options. > I didn't succeed in triggering the message. I think this is because the issue is prog specific, and not bootstrap. Not sure if this should be fixed in master or just 3.16 and earlier. Created attachment 30856 [details] [review] [PASSED QA] Bug 4231 - Placing holds from cart fails silently This patch adds a more meaningfull message if multiple biblios with no items attached are in the cart. To test: - Add biblios with and without items to cart - Go to cart, select all and click 'Place hold' Without patch, message reads: Cannot place hold: this record has no items attached. With patch, message reads: Cannot place hold: one or more records without items attached. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Patch pushed to master. Thanks Marc! |