[Koha-bugs] [Bug 13265] Still too many search cursor cookies

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 18 15:14:29 CEST 2015


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37973|0                           |1
        is obsolete|                            |

--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 39284
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39284&action=edit
Bug 13265 - Still too many search cursor cookies

We have multiple sites that are still exhibiting bug 11369. For whatever
reason, the cookies on these sites are larger and thus the maximum of 10
is still too large. This setting should be controlled by a system
preference to the number can be tailored on a per-site basis.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Set the new system preference MaxSearchCookies to a high number ( e.g. 20 ).
4) Perform searches until you get the error described in bug 11369
5) Delete your cookies so you can use the staff intranet again
5) Set the system preference to a much lower number ( e.g. 5 )
6) Repeat setp 4, you should no longer get the error.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Works, but does not remove all superfluous cookies. The code still
removes only the oldest one.

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


More information about the Koha-bugs mailing list