[Koha-bugs] [Bug 24857] Add ability to create "Volumes" for records, and assign items to volumes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Sep 12 23:07:45 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24857
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #219 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Kyle,
tests pass, but there is a db error when you run them:
[2020-09-12 21:06:37.69672] [26709] [debug] POST "/api/v1/biblios/XXX/volumes"
(57471cdc)
[2020-09-12 21:06:37.69813] [26709] [debug] Routing to controller
"Koha::REST::V1::Auth" and action "under"
[2020-09-12 21:06:37.72833] [26709] [debug] Routing to controller
"Koha::REST::V1::Biblios::Volumes" and action "add"
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Cannot add or update a child row: a foreign key constraint
fails (`koha_kohadev`.`volumes`, CONSTRAINT `volumes_ibfk_1` FOREIGN KEY
(`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON
UPDATE CASCADE) [for Statement "INSERT INTO `volumes` ( `biblionumber`,
`created_on`, `description`, `display_order`, `updated_on`) VALUES ( ?, NOW(),
?, ?, current_timestamp )" with ParamValues: 0=0, 1="Vol 1", 2=1] at
/home/vagrant/kohaclone/Koha/Object.pm line 166
[2020-09-12 21:06:37.73397] [26709] [debug] 409 Conflict (0.037233s, 26.858/s)
ok 5 - POST
//jFfMRdUyfmSrbUO5TWioGEhp2HSDQXGSqy01hFdFW0DUU9utfXIyBXUNR:thePassword123@/api/v1/biblios/XXX/volumes
ok 6 - SWAGGER3.2.1
ok 2 - volumes add() tests
Can you please check?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list