[Koha-bugs] [Bug 20122] Empty and close link on cart page not working (js security)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 6 18:12:02 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20122
--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 73788
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73788&action=edit
Bug 20122: Empty lists keep coming back
This is caused by bib_list not being deleted.
The path was not explicitly set.
This patch adds path=/ explicitly to ensure it
does get deleted.
TEST PLAN
---------
1) search for 'the' in OPAC
2) add several items to cart.
3) look at your cart.
4) empty and close the cart, select all->remove
-- either way window closes and it looks empty.
5) refresh the page
-- cart comes back.
-- in chromium inspecting the page, specifically
the "Application" area, bib_list is shown as
a cookie still.
6) apply patch
7) restart_all and empty cache forcing JS reload
8) repeat steps 1-5
-- this time cart stays empty.
-- and the bib_list cookie is gone
9) run koha qa test tools.
NOTE: Shout out to Owen Leonard for this version.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list