[Koha-bugs] [Bug 11369] Too many search cursor cookies overflow HTTP-header size, when making multiple searches in the staff client.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 14:22:07 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11369

--- Comment #2 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 23389
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23389&action=edit
Bug 11369 - Updating the jquery.cookie.js-plugin

The current jquery.cookie-plugin crashes when trying to fetch all cookies using
$.cookie();
Downloaded the newest plugin version and minified it.
Now works as intended.

Encountered an issue with the plugin now returning null when no cookies are
found,
and applied a fix in browser.js.

-------------
- Test plan -
-------------
Plugin is used in browser.js and batchMod.js so testing both

--- browser.js ---

In catalogue/search.pl look for any record.
You should get a search cookie stored in your browsers cache with the following
format:
4Xea40qp :
{"offset":1,"query":"idx=kw&q=read","limit":"","sort":"","pagelen":20,"results":[1430,2253,2255,2256,2257,2258,2307,2326,2344,2595,2961,3588,3974,3995,4026,4405,4410,4412,4414,4435]}

Select any record for detailed view. You should get a navigation panel on your
left part of screen.
You should be able to move to the previous and next record and return to
results.

--- batchMod.js ---

Select a handful of barcodes to batch modify, then continue.
The cookie affected stores the columns you want displayed. Try showing/hiding
columns.
When you make another batch modification attempt, your column selection
persists via the showColumns-cookie.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list