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

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |k

--- Comment #20 from Pedro Amorim (ammopt) <[email protected]> ---
Hi all,

One small regression to look at in a follow-up. The removed attachment code was
also what stopped a cart with no valid records from being sent, so a cart whose
records have all been deleted is now emailed with no records in it, both from
the OPAC and the staff interface.

1) Edit the 'koha' patron (cardnumber '42') and set 'Primary email' to
'[email protected]'
2) In the OPAC, log in as koha/koha, open 'Perl best practices'
(http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=5) and click
the 'Add to cart' button
3) In the staff interface, open the same record
(http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=5), click
'Edit' > 'Delete record' and confirm
4) Back in the OPAC, click the 'Cart' link at the top, then the 'Send' link
5) In the 'Sending your cart' form, enter any email in 'Email address' and
click the 'Send' button
6) Confirm you get 'Message sent' and the cart is emailed with no records in
it. Before this patch it showed 'There was an error sending the cart: No valid
records were found.'

Also, 'use Koha::Biblios;' is now unused in basket/sendbasket.pl and
opac/opac-sendbasket.pl, and the 'NO_BODY' error in opac-sendbasketform.tt can
no longer be reached.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to