https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28833
Brendan Lawlor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #27 from Brendan Lawlor <[email protected]> --- Test notes: > This script will generate 100 holds: > > #!/usr/bin/perl > use t::lib::TestBuilder; > my $builder = t::lib::TestBuilder->new; > > for ( my $i = 0 ; $i < 100 ; $i++ ) { > my $hold = $builder->build( { source => 'Reserve' } ); > } > I ran this script 10+ times. I noticed that in addition to holds it also makes new patrons, branches, bibs and itemtypes, probably other stuff too. cool! I could see 1000+ records in the reserves table, but if I went to a patron record where a hold was created by the script the holds table wouldn't load, with error 500. I wasn't able to build the holds queue. Also the bib detail page returned the error: DBIC result _type isn't of the _type BiblioMetadata at /kohadevbox/koha/catalogue/detail.pl line 105. at /usr/lib/x86_64-linux-gnu/perl-base/Carp.pm line 289 I think the next step needs to be to reindex for the new bibs, so I tried: koha-rebuild-zebra -f --force -v kohadev Something is not working to reindex the bibs created by the script though, once it gets past the ktd default bibs it returns errors like .error retrieving biblio 3000 at /kohadevbox/koha/misc/migration_tools/rebuild_zebra.pl line 706. Am I missing a step in the reindexing part? What step/s are required after generating the test data? I was able to install Parallel::ForkManager and use the time utility, so I will be able to test again once I can resolve the data issue. Thanks! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
