Created attachment 12739 [details] [review] Bug 8890 - C4::Holdsqueue is db dependent
Created attachment 12843 [details] [review] Bug 8890: C4/HoldsQueue requires DB This counter-patch moves all database handling code into subroutines in C4::HoldsQueue. This fixes the test, and is required for persistent environments like Plack.
Created attachment 12844 [details] [review] Bug 8890: don't try to load DB-dependent modules Both C4::Members::Statistics and Koha::Borrower::Files use the database in their BEGIN {} blocks, which breaks the package build process. This patch causes them to be skipped in the 00-load test.
Created attachment 12846 [details] [review] Bug 8890: don't try to load DB-dependent modules C4::Members::Statistics uses the database in its BEGIN {} block, which breaks the package build process. This patch causes it to be skipped in the 00-load test.
Created attachment 12847 [details] [review] Bug 8890: Koha::Borrower::Files shouldn't use db in BEGIN This patch removes the usage of the database in Koha::Borrower::Files' BEGIN block. It also removes the export-related declarations, since they were unused, and unnecessary in a module called in an object-oriented fashion.
Created attachment 12872 [details] [review] Bug 8890: C4/HoldsQueue requires DB This counter-patch moves all database handling code into subroutines in C4::HoldsQueue. This fixes the test, and is required for persistent environments like Plack. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 12873 [details] [review] Bug 8890: don't try to load DB-dependent modules C4::Members::Statistics uses the database in its BEGIN {} block, which breaks the package build process. This patch causes it to be skipped in the 00-load test. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 12874 [details] [review] Bug 8890: Koha::Borrower::Files shouldn't use db in BEGIN This patch removes the usage of the database in Koha::Borrower::Files' BEGIN block. It also removes the export-related declarations, since they were unused, and unnecessary in a module called in an object-oriented fashion. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 13014 [details] [review] Bug 8890 - move two more db dependent tests * t/AuthoritiesMarc.t * t/SuggestionEngine_ExplodedTerms.t
The patch for bug 8846 corrects the problem with t/SuggestionEngine_ExplodedTerms.t.
These patchs fix the t/00-load.t test Marked as Passed QA.
Patch pushed to master The 1st patch ( Bug 8890: C4/HoldsQueue requires DB (2.19 KB, patch) ) could be pushed to 3.8 to improve Plack compatibility, I think others won't apply because related to 3.10 patches
I'll change my patch to give bug 8846 priority over it, as it fixes it properly (my goal is mostly to get things building.)
Oh, I see all patches were pushed to master. Disregard what I said there then.
Released in 3.10.0