https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42109 --- Comment #2 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 196942 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196942&action=edit Bug 42109: Replace OAI-PMH:ConfFile with OAI-PMH:ExtendedMode The OAI-PMH:ConfFile system preference requires a local file on the server's filesystem to configure extended OAI-PMH mode. This makes configuration less portable and requires server-level access to manage. This patch replaces it with OAI-PMH:ExtendedMode, a new system preference that stores the YAML configuration directly in the database. The database update reads the existing config file contents and migrates them into the new preference. Test Plan: 1) Create a conf file and point OAI-PMH:ConfFile at it 2) Apply this patch 3) Run updatedatabase.pl 4) Go to Administration > System preferences > Web services 5) Search for OAI-PMH:ExtendedMode 6) Note the preference is now a textarea with YAML syntax highlighting 7) If you previously had OAI-PMH:ConfFile set to a file path, note the file contents have been migrated into the new preference 8) prove t/db_dependent/OAI/Server.t 9) prove t/db_dependent/Koha/OAI/Server/Repository.t -- You are receiving this mail because: You are watching all bug changes.