CC: | oliver [...] cpan.org |
Subject: | make test fails with DBIx::Class older than 0.08127 |
Date: | Mon, 23 Jan 2012 21:28:36 +0100 |
To: | bug-Catalyst-Plugin-AutoCRUD [...] rt.cpan.org |
From: | Martin Rusko <martin.rusko [...] gmail.com> |
Hi Oliver,
so according to commit
https://github.com/rbuels/Catalyst-Plugin-AutoCRUD/commit/b8a945eafe86a725ab2e58405f0bc136b559120e
there should be variable $skip_dangling_rels which gets set to 1 if
DBIx::Class has lower version than 0.08127.
But if I look into CPAC 2.113450 sources, this variable is used in
SleeveNotes.pm but never set anywhere.
Best Regards,
Martin
On Mon, Jan 23, 2012 at 5:56 PM, Martin Rusko <martin.rusko@gmail.com> wrote:
Show quoted text
> OK, found just now some discussion at
> https://github.com/ollyg/Catalyst-Plugin-AutoCRUD/pull/11
>
> I'm going to digest it to see if it applies to me. DBIx::Class in use
> in my case is 0.08123 (from Debian/Squeeze).
>
> Martin
>
>
> On Mon, Jan 23, 2012 at 5:49 PM, Martin Rusko <martin.rusko@gmail.com> wrote:
>> Hi Oliver,
>>
>> I'm trying to use your module Catalyst-Plugin-AutoCRUD-2.113450, but
>> I'm failing test 10-www.t with following error message ...
>>
>> [error] Caught exception in
>> TestApp::Model::AutoCRUD::StorageEngine::DBIC->schema_metadata
>> "translate: Error with parser 'SQL::Translator::Parser::DBIx::Class':
>> DBIx::Class::ResultSource::reverse_relationship_info(): Can't find
>> source for Nonexistent::Schema::Noggin at
>> /usr/share/perl5/SQL/Translator/Parser/DBIx/Class.pm line 168"
>> [error] Caught exception in
>> TestApp::Controller::AutoCRUD::Root->do_meta "Can't bless
>> non-reference value at lib/SQL/Translator/AutoCRUD/Quick.pm line 31."
>> [error] Caught exception in
>> TestApp::Controller::AutoCRUD::Root->bootstrap "Can't call method "t"
>> on an undefined value at
>> lib/Catalyst/Plugin/AutoCRUD/Controller/Root.pm line 191."
>>
>> I can see that such non-existent schema is referenced in
>> t/lib/TestApp/Schema/SleeveNotes.pm file. Am I missing anything or
>> what is going on, please? Any hint where to turn and look is
>> appreciated.
>>
>> Best Regards,
>> Martin
>> --
>> Martin Rusko | martin.rusko@gmail.com | tel: +46 8 524 98091 | mobile:
>> +46 768 598091 | mobile: +421 903 246 698