[Dbix-class] latest DBIx::Class "Not inlining a constructor..."
Bernhard Bauch
bauch at zsi.at
Wed Sep 14 12:35:57 GMT 2016
dear all,
i did upgrade all modules (installed from scratch all catalyst, dbix:class, etc. modules -- so also moose)
my dbix::class schema/resultset structure looks like this:
----------------------------------------
package CatalystX::MyBaseApp::Schema::ResultSet;
use Moose;
use namespace::autoclean;
use MooseX::NonMoose;
extends 'DBIx::Class::ResultSet';
sub BUILDARGS { $_[2] }
.... custom code here..
__PACKAGE__->meta->make_immutable;
1;
----------------------------------------
package MyApp::Schema::ResultSet;
use Moose;
use namespace::autoclean;
use MooseX::NonMoose;
extends 'CatalystX:: MyBaseApp::Schema::ResultSet';
sub BUILDARGS { $_[2] }
__PACKAGE__->meta->make_immutable;
1;
----------------------------------------
used versions:
- perl 5.24.0
- dbix::class: 0.082840
- moose: 2.1805
hope that helps.
chees,
bernhard
> On 14 Sep 2016, at 13:17, Peter Rabbitson <rabbit+dbic at rabbit.us> wrote:
>
> On 09/14/2016 11:13 AM, Bernhard Bauch wrote:
>> dear all,
>>
>> i've been updating to the latest dbix::class version yesterday, and now
>> my catalyst app / more the dbix::class schema does not work..
>
> In the emails you keep citing ...DBIx-Class-0.08271... yet the latest version is 0.082840: https://metacpan.org/release/DBIx-Class
>
> It is also unclear whether it is *just* DBIC that you upgraded, or did you upgrade the rest of your dependencies (i.e. did your version of Moose before/after stayed the same? )
>
> It would really help if you can narrow this down, by attempting to load just a single result class (not your entire app/schema) and verifying if that works before/after, while also comparing the versions of various libraries using something like https://metacpan.org/pod/Module::Versions::Report#SYNOPSIS
>
> Cheers
>
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>
> !DSPAM:57d931fb170071281829247!
>
>
—
Bernhard Bauch
Webdevelopment
ZSI-Zentrum für Soziale Innovation GmbH
Centre for Social Innovation
Linke Wienzeile 246, A-1150 Wien, Austria
Mail: bauch at zsi.at
Skype: berni-zsi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20160914/382b123f/attachment.pgp>
More information about the DBIx-Class
mailing list