[Bug 42318] New: Table record_sources is not populated with data on install
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Bug ID: 42318 Summary: Table record_sources is not populated with data on install Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: koha-bugs@lists.koha-community.org Reporter: bibliothek@th-wildau.de QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com In bug 35380 the table record_sources gets populated with system defined values as 'bulkmarcimport','intranet' and so on. As this works in updates via a script in db_revs (251200037.pl) these values are not populated on a new installation. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35380 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35380 [Bug 35380] PUT /biblios/:biblio_id doesn't respect overlay rules -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #1 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 197017 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197017&action=edit Bug 42318: Populate record_sources with system defined values on install This patch adds predefined values to the record_sources table on installation of a new Koha instance. The values are - batchmod - intranet - batchimport - z3950 - bulkmarcimport - import_lexile and were formerly hardcoded in marc-overlay-rules.tt. This was introduced in 35380 which took care of updated instances via a db_revs script but forgot installation scripts. Testplan a) start up a fresh ktd b) login and check go to Administration -> Record sources c) check that no source exists d) apply patch e) go to mysql shell 'koha-mysql kohadev' f) empty the database to trigger Kohas installer: 'drop database koha_kohadev;' followed by a 'create database koha_kohadev;' g) restart_all h) open Koha in browser again, the web installer should appear now. Credentials are 'koha_kohadev' with pasword 'password'. i) run through the installation and create an admin user, j) login with that user and repeat b) and c) k) check that record sources are now set with the values from the descriptioni above. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |bibliothek@th-wildau.de |ity.org | Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #2 from Jan Kissig <bibliothek@th-wildau.de> --- if this is pushed an update to https://gitlab.com/koha-community/koha-misc4dev/-/blob/main/populate_db.pl?r... is needed so that ktd will load that data -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197017|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 197103 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197103&action=edit Bug 42318: Populate record_sources with system defined values on install This patch adds predefined values to the record_sources table on installation of a new Koha instance. The values are - batchmod - intranet - batchimport - z3950 - bulkmarcimport - import_lexile and were formerly hardcoded in marc-overlay-rules.tt. This was introduced in 35380 which took care of updated instances via a db_revs script but forgot installation scripts. Testplan a) start up a fresh ktd b) login and check go to Administration -> Record sources c) check that no source exists d) apply patch e) go to mysql shell 'koha-mysql kohadev' f) empty the database to trigger Kohas installer: 'drop database koha_kohadev;' followed by a 'create database koha_kohadev;' g) restart_all h) open Koha in browser again, the web installer should appear now. Credentials are 'koha_kohadev' with pasword 'password'. i) run through the installation and create an admin user, j) login with that user and repeat b) and c) k) check that record sources are now set with the values from the descriptioni above. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Text to go in the| |This adds predefined record release notes| |source values for new Koha | |installations | |(Administration > Catalog > | |Record sources). | | | |The predefined values for | |record sources are: | |- batchmod (Batch record | |modification) | |- intranet (Staff interface | |MARC editor) | |- batchimport (Stage MARC | |import) | |- z3950 (Z39.50 import) | |- bulkmarcimport (Bulk | |import command line script) | |- import_lexile (Lexile.com | |scores from CSV using the | |command line script) | | | |These values were formerly | |hardcoded for MARC overlay | |rules (Administration > | |Catalog > Record overlay | |rules). Bug 35380 (added in | |Koha 26.05) removed the | |hardcoded values, but | |didn't update the | |installation scripts. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35380 CC| |martin.renvoize@openfifth.c | |o.uk Blocks|35380 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35380 [Bug 35380] PUT /biblios/:biblio_id doesn't respect overlay rules -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197103|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 197393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197393&action=edit Bug 42318: Populate record_sources with system defined values on install This patch adds predefined values to the record_sources table on installation of a new Koha instance. The values are - batchmod - intranet - batchimport - z3950 - bulkmarcimport - import_lexile and were formerly hardcoded in marc-overlay-rules.tt. This was introduced in 35380 which took care of updated instances via a db_revs script but forgot installation scripts. Testplan a) start up a fresh ktd b) login and check go to Administration -> Record sources c) check that no source exists d) apply patch e) go to mysql shell 'koha-mysql kohadev' f) empty the database to trigger Kohas installer: 'drop database koha_kohadev;' followed by a 'create database koha_kohadev;' g) restart_all h) open Koha in browser again, the web installer should appear now. Credentials are 'koha_kohadev' with pasword 'password'. i) run through the installation and create an admin user, j) login with that user and repeat b) and c) k) check that record sources are now set with the values from the descriptioni above. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #5 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.05.00 |26.05.00,25.11.05 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 --- Comment #6 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42318 Bug 42318 depends on bug 35380, which changed state. Bug 35380 Summary: PUT /biblios/:biblio_id doesn't apply record overlay rules https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35380 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org