t/db_dependent/rollingloans.t DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_dev`.`items`, CONSTRAINT `items_ibfk_3` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) [for Statement "UPDATE items SET itemlost_on=?,itemlost=?,onloan=?,datelastborrowed=?,holdingbranch=?,issues=? WHERE itemnumber=?" with ParamValues: 0=undef, 1=0, 2='2011-05-30', 3='2018-06-08', 4="CPL", 5='31254', 6='862'] at /usr/share/koha/devclone/C4/Items.pm line 2038.
Created attachment 75914 [details] [review] Bug 20900: Add CPL test branch in rollingloans.t Trivial fix. Test plan: Without this patch and a CPL library, run rollingsloans.t. See warns. With this patch, no warns. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
For the fast QA lane, Joubu ? Comes from testing 20271 btw.
It seems that t/db_dependent/Labels/t_Batch.t is failing as well
Created attachment 76610 [details] [review] Bug 20900: Add CPL branch in t_Batch.t too Same fix as previous patch. Test plan: Run t/db_dependent/Labels/t_Batch.t (without CPL branch) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Hmm. Fast?
*** Bug 20902 has been marked as a duplicate of this bug. ***
Created attachment 76752 [details] [review] Bug 20900: Add CPL test branch in rollingloans.t Trivial fix. Test plan: Without this patch and a CPL library, run rollingsloans.t. See warns. With this patch, no warns. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 76753 [details] [review] Bug 20900: Add CPL branch in t_Batch.t too Same fix as previous patch. Test plan: Run t/db_dependent/Labels/t_Batch.t (without CPL branch) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Awesome work all! Pushed to master for 18.11
Pushed to 18.05.x for 18.05.02
Pushed to 17.11.x for 17.11.09