https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19004
--- Comment #14 from Marcel de Rooy <[email protected]> --- (In reply to Marcel de Rooy from comment #11) > (In reply to Jonathan Druart from comment #8) > > Created attachment 66486 [details] [review] [review] > > Bug 19004: build_object takes care of existing data > > > > Signed-off-by: Jonathan Druart <[email protected]> > > It works, but it will trigger a "unique violation" warning from build. Which > is valid since build should create data not find it. (I once proposed a flag > to suppress this warning, but it was not welcomed.) It does not work: # Subtest: add_enrolment_fee_if_needed 1..4 Violation of unique constraint in Category at /usr/share/koha/masterclone/t/lib/ TestBuilder.pm line 233. # No tests run! not ok 14 - No tests run for subtest "add_enrolment_fee_if_needed" # Failed test 'No tests run for subtest "add_enrolment_fee_if_needed"' # at t/db_dependent/Koha/Patrons.t line 426. Can't call method "enrolmentfee" on an undefined value at t/db_dependent/Koha/Pa trons.t line 381. # Looks like your test exited with 255 just after 14. Obsoleting this patch. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
