[Koha-bugs] [Bug 31194] koha-marc mappings not invalidated in cache

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 20 09:56:23 CEST 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joonas.kylmala at iki.fi,
                   |                            |martin.renvoize at ptfs-europe
                   |                            |.com,
                   |                            |nick at bywatersolutions.com,
                   |                            |tomascohen at gmail.com

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Hum, I am not sure what is the best here.

The original problem is that the koha-MARC mapping is not updated when
adding/editing items.

So this may be a regression coming from bug 27526, where we are now using the
marc subfield structure (mss) from the biblio to retrieve the mapping
(kohafield). And before we were calling C4::Biblio::GetMarcFromKohaField.

Either 1. we consider that the kohafield can be retrieved from any mss in
cache, or 2. we force the fetch to be done using GetMarcFromKohaField.

2. is easier to implement, 1. is preventing us from hitting the same problem in
the future (and certainly better for perfs but nothing bad as
GetMarcFromKohaField is cached).

What's your call?

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


More information about the Koha-bugs mailing list