[Koha-bugs] [Bug 8798] Add the use of DBIx::Class

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 21 00:58:43 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8798

wajasu <matted-34813 at mypacks.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |matted-34813 at mypacks.net

--- Comment #3 from wajasu <matted-34813 at mypacks.net> ---
I need you to add the dependency to koha_perl_deps.pl.
This way we can drive any workflow for derived artifacts (koha-common, etc)

Also, possibly investigate updating any debian packages list.

Note: We may want to let someone benchmark if it does load modules, on each
request.

I was thinking we would right a plack based repo service that we can call and
keep DBIx out of apps/modules, but maybe that too much, we'll see. I'm excited
about this.  Bringing in an ORM.  Got to get the ball rolling.

wajasu

koha at biblio:~/kohaclone$ prove t/Context.t 
t/Context.t .. 1/1 
#   Failed test 'use C4::Context;'
#   at t/Context.t line 9.
#     Tried to use 'C4::Context'.
#     Error:  Base class package "DBIx::Class::Schema" is empty.
#     (Perhaps you need to 'use' the module which defines that package first,
#     or make that module available in @INC (@INC contains:
/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10
/usr/share/perl/5.10 /usr/local/lib/site_perl .).
#  at /home/koha/kohaclone/Koha/Schema.pm line 9.
# BEGIN failed--compilation aborted at /home/koha/kohaclone/Koha/Schema.pm line
9.
# Compilation failed in require at /home/koha/kohaclone/C4/Context.pm line 102.
# BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Context.pm line
102.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
# Looks like you failed 1 test of 1.
t/Context.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/Context.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.06 cusr  0.00
csys =  0.09 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list