[Koha-bugs] [Bug 22847] Specific circ rule by patron category is displaying the default (or not displaying)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 24 15:20:54 CEST 2019


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

--- Comment #9 from Victor Grousset/tuxayo <victor.grousset at biblibre.com> ---
I'm investigating why does the UNIMARC dump fails since this was merged in
master.
(MARC21 upgrades fine)

http://git.koha-community.org/gitweb/?p=contrib/global.git;a=history;f=sandbox/sql/sandbox2.sql.gz;hb=HEAD

logs:

Upgrade to 18.12.00.019 done (Bug 21728 - Add 'Reserve Fee' to the
account_offset_types table if missing)
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
constraint fails (`koha`.`circulation_rules`, CONSTRAINT `circ_rules_ibfk_3`
FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE CASCADE
ON UPDATE CASCADE) [for Statement "
            INSERT INTO circulation_rules ( categorycode, branchcode, itemtype,
rule_name, rule_value )
            SELECT IF(categorycode='*', NULL, categorycode),
                   IF(branchcode='*', NULL, branchcode),
                   IF(itemtype='*', NULL, itemtype),
                   'maxissueqty',
                   COALESCE( maxissueqty, '' )
            FROM issuingrules
        "] at /home/koha/src/installer/data/mysql/updatedatabase.pl line 17537.
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
constraint fails (`koha`.`circulation_rules`, CONSTRAINT `circ_rules_ibfk_3`
FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE CASCADE
ON UPDATE CASCADE) [for Statement "
            INSERT INTO circulation_rules ( categorycode, branchcode, itemtype,
rule_name, rule_value )
            SELECT IF(categorycode='*', NULL, categorycode),
                   IF(branchcode='*', NULL, branchcode),
                   IF(itemtype='*', NULL, itemtype),
                   'maxonsiteissueqty',
                   COALESCE( maxonsiteissueqty, '' )
            FROM issuingrules
        "] at /home/koha/src/installer/data/mysql/updatedatabase.pl line 17546.
Upgrade to 18.12.00.020 done (Bug 18925 - Move maxissueqty and
maxonsiteissueqty to circulation_rules)

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


More information about the Koha-bugs mailing list