[Koha-bugs] [Bug 28911] Bcrypt settings are required for pseudonymization but are not set on upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 7 02:56:14 CEST 2022


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

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #4)
> (In reply to David Cook from comment #3)
> > Just got stung by this one. 
> > 
> > There are quite a few settings like this I think (e.g. plugin_repos,
> > koha_xslt_security, smtp_server).
> 
> I'm writing a local script that fixes up a lot of the missing/bad config.
> It's not very elegant but I could probably share it once I'm done.

Basically, I loop through /etc/koha/sites, check each koha-conf.xml, and then
re-write it. 

It does pretty well overall. The output of XML::LibXML is quite similar to
/etc/koha/koha-conf-site.xml.in. The main difference is a bit of whitespace and
self-closing tags in some of the Zebra-specific configuration within <yazgfs>.
Zebra seems fine with empty tags and different whitespace, so I'm fairly
content. Half-tempted to submit a patch to make the whitespace for
/etc/koha/koha-conf-site.xml.in be more in line with the output of XML::LibXML,
but I don't know what folk would think of that...

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


More information about the Koha-bugs mailing list