[Koha-bugs] [Bug 17530] Don't show 'article request' link when no article requests are permitted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 7 08:13:24 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17530
--- Comment #64 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
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.
More information about the Koha-bugs
mailing list