[Koha-bugs] [Bug 20434] Updating Unimarc existing frameworks with IFLA updates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 15:17:40 CEST 2019


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

Koha Team University Lyon 3 <koha at univ-lyon3.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koha at univ-lyon3.fr

--- Comment #30 from Koha Team University Lyon 3 <koha at univ-lyon3.fr> ---
I have an error while executing misc/migration_tools/ifla/update.pl


DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
c                                                       onstraint fails
(`koha_kohadev`.`auth_tag_structure`, CONSTRAINT `auth_tag_struc               
                                       ture_ibfk_1` FOREIGN KEY
(`authtypecode`) REFERENCES `auth_types` (`authtypecode                        
                              `) ON DELETE CASCADE ON UPDATE CASCADE) [for
Statement "INSERT INTO `auth_tag_st                                            
          ructure` ( `authorised_value`, `authtypecode`, `liblibrarian`,
`libopac`, `manda                                                       tory`,
`repeatable`, `tagfield`) VALUES ( ?, ?, ?, ?, ?, ?, ? )" with ParamValue      
                                                s: 0=undef, 1="CO", 2="PPN",
3="", 4="0", 5="0", 6="009"] at /usr/share/perl5/DB                            
                          Ix/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_dbh_execute(): Cannot add or update a child row: a
f                                                       oreign key constraint
fails (`koha_kohadev`.`auth_tag_structure`, CONSTRAINT `au                     
                                 th_tag_structure_ibfk_1` FOREIGN KEY
(`authtypecode`) REFERENCES `auth_types` (`                                    
                  authtypecode`) ON DELETE CASCADE ON UPDATE CASCADE) at
misc/migration_tools/ifla                                                      
/update.pl line 285

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


More information about the Koha-bugs mailing list