]> git.koha-community.org Git - koha.git/commit
Bug 31393: Koha::Config: handle the special case for 'content' attribute
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 26 Jun 2023 13:25:12 +0000 (15:25 +0200)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 13 Nov 2023 15:28:46 +0000 (15:28 +0000)
commitf69ae61625c8b3d6957aeb8708461d9e2b1f3124
tree7b2553930e769488df0b3105967bcecda09b2fc4
parent06c8ea255f016a06b57ba4093390f7323414edb4
Bug 31393: Koha::Config: handle the special case for 'content' attribute

<key content="value"></key>

was wrongly parsed as

{ key => 'value' }

whereas it should be

{ key => { content => 'value' } }

The 'content' attribute is used in shibboleth config

Test plan:
1 Run `prove t/Koha/Config.t`

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6973625e7a06e66ee731ea8f5b69f296943c580f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 35ae7b467e54c38b8f99e392b02838e9fd53e9e0)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Config.pm
t/Koha/Config.t
t/data/koha-conf.xml