[Koha-bugs] [Bug 34842] t/db_dependent/Illrequest/Config.t is failing if the DB has been upgraded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 25 17:59:03 CEST 2023


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

--- Comment #5 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #0)
> I think we should adjust the atomic update from bug 32911 and set the
> syspref to "IL" if the config was "ILLLIBS". What do you think Pedro?

I think we should make sure that k-t-d now has <partner_code>IL</partner_code>
instead of <partner_code>ILLLIBS</partner_code>.

The problem is that the updatedatabase will set the preference to ILLLIBS as
that is what is coming from the config file, but IL is the category in the
database, not ILLLIBS, so it gets botched.

Existing installations using this feature will certainly have a existing
<partner_code> in their conf file so will not experience this.

(In reply to Pedro Amorim from comment #4)
> 
> I'm not sure about the change to Config.pm, see bug 21548.

This is fine, I tested and it works as expected. Ran
update systempreferences set value = "" where variable ="ILLPartnerCode";

And tried to place a request with partners, it still defaults to 'IL'
correctly.

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


More information about the Koha-bugs mailing list