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

--- Comment #64 from Marcel de Rooy <[email protected]> ---
This change in the 4th patch is the culprit:

-    $last_article_requestable_guesses->{$key} = $res;
+    $cache->set_in_cache(GUESSED_ITEMTYPES_KEY, $res);

We lost a hash level here.. This got mostly unnoticed since the routine just
recalculates if the hash key was not found. So the tests just passed..
It seems that you found this error because you must have a match between patron
categories and itemtypes. If the routine cached e.g. { A => 1 } for itemtype A
and you ran it again with patron category A, opac-search did not get a hash but
a scalar, etc.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to