[Koha-bugs] [Bug 16229] Koha::Cache should be on the safe side

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 13 16:48:53 CEST 2016


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

Jacek Ablewicz <ablewicz at gmail.com> changed:

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

--- Comment #5 from Jacek Ablewicz <ablewicz at gmail.com> ---
Created attachment 50199
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50199&action=edit
Bug 16229: Deep copy on first L2 fetch

When a value exists in L2 cache but not in L1 cache, it should be deep
copied if needed (i.e. not a scalar). Otherwise the calling code is able
to modify the value in cache.
Note that is theoretical, it's possible that no code does that.

Signed-off-by: Jacek Ablewicz <abl at biblos.pk.edu.pl>

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


More information about the Koha-bugs mailing list