Bug 22840

Summary: Force insert of mandatory data
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Installation and upgrade (command-line installer)Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21651
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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?