Some optional sample data is dependent on other optional data when using the web installer. This is not made obvious, nor are users prevented from attempting to install sample data that depends on other sample data that is not selected. This means that first time users are unnecessarily confronted with (fairly ugly) database errors whilst attempting their very first install, with no obvious way to "undo" these errors nor how much importance to pay to them. For example: `sample_libraries_holidays` and `sample_patrons` fail to load if sample libraries are not also selected. It would be useful if the step where users select which optional data to install included a check for data dependencies like this to ensure a relaxing experience for new users. Ideally this would be some kind of JavaScript (e.g. if Koha was using VueJS that would be ideal to check the state of relevant checkboxes), or alternatively a check on submission of the form that returns to the selection screen if incompatible options are selected, with a useful error message explaining the problem.
This bug seems to be related also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24694
*** Bug 24694 has been marked as a duplicate of this bug. ***
We have added some logic to the installer since this was reported. So you can only select sample holidays if you also have sample libraries, similar for sample patrons etc. Marking this as FIXED.