Apparently I’m facing this issue
https://github.com/pkp/pkp-lib/issues/8951
which is surprising to me, since - if I’m getting this right - this issue has been fixed.
I’m getting this error when trying to import via the Native XML-Plugin:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
omp
.publications
, CONSTRAINTpublications_author_id
FOREIGN KEY (primary_contact_id
) REFERENCESauthors
(author_id
) ON DELETE SET NULL) (SQL: updatepublications
setdate_published
= ?,last_modified
= 2024-11-04 12:54:24,primary_contact_id
= 0,seq
= 0,series_id
= 1,submission_id
= 13,status
= 0,url_path
= ?,version
= 0,series_position
= ,doi_id
= ? wherepublication_id
= 13)
OMP version: 3.4.0.6
PHP version 8.2.20
Database driver mysql
Database server version 8.0.36
Has anyone ideas how I might be able to fix this? Thanks in advance.