[Koha-bugs] [Bug 33581] New: Error in Webinstaller concerning sample holidays

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 21 13:33:00 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33581

            Bug ID: 33581
           Summary: Error in Webinstaller concerning sample holidays
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Holidays
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: anke.bruns at gwdg.de
        QA Contact: testopia at bugs.koha-community.org

If sample holidays are chosen in the onboarding tool, there is an error
message:

sample_libraries_holidays.yml
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_pks`.`repeatable_holidays`, CONSTRAINT
`repeatable_holidays_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches`
(`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE) at
/usr/share/koha/lib/C4/Installer.pm line 575.

This is probably due to the fact that at that stage no branches have yet been
created for the instance. It would probably with sample branches chosen but it
should work also without the sample branches.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list