Bug 22840 - Force insert of mandatory data
Summary: Force insert of mandatory data
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (command-line installer) (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-03 14:40 UTC by Jonathan Druart
Modified: 2023-09-23 19:42 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2019-05-03 14:40:10 UTC
During the installation process there is a "mandatory" data that can be unchecked.
If some are unchecked, Koha will certainly not work as expected, we may want to force the insert of these .sql file (like sysprefs, notices, AV, etc.)
Comment 1 Jonathan Druart 2019-05-03 14:55:35 UTC
This is not trivial, we need to:
1. use the "mandatory" flag for all the different .sql files (not only frameworks), see $requirelevel in C4::Installer
2. use this flag in the template to remove the ability to uncheck those checkboxes
3. Remove the "Select none", "Select all" links if the "section" is mandatory
Comment 2 Katrin Fischer 2023-09-23 19:42:08 UTC
It would probably be a lot easier now that all the installers have the same file structure?