<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">hey again,<div class=""><br class=""><div class="">correction:</div><div class="">there are now errors. when i do</div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><a href="http://search.cpan.org/~ribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose" class="">http://search.cpan.org/~ribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose</a></div></div></blockquote>for all my resultset-classes</div><div class="">but i receive lots of warnings (for every ResulSet class i have) when starti my app.. like&nbsp;</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Not inlining a constructor for MyApp::Schema::ResultSet since its parent MyBaseApp::Schema::ResultSet doesn't contain a constructor named 'new'. If</div></div></blockquote><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">you&nbsp;are certain you don't need to inline your constructor, specify inline_constructor =&gt; 0 in your call to&nbsp;MyApp::Schema::ResultSet-&gt;meta-&gt;make_immutable</div></div></blockquote></div><div class=""><br class=""></div><div class="">anyideas why ?</div><div class="">bye, bernhard</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14 Sep 2016, at 11:13, Bernhard Bauch &lt;<a href="mailto:bauch@zsi.at" class="">bauch@zsi.at</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">dear all,<div class=""><br class=""></div><div class="">i've been updating to the latest dbix::class version yesterday, and now my catalyst app / more the dbix::class schema does not work..</div><div class=""><br class=""></div><div class="">i get the following error/warning when starting my App:</div><div class=""><br class=""></div><div class="">------------------------------------------------------------</div><div class="">Not inlining a constructor for MyApp::Schema::ResultSet since its parent MyBaseApp::Schema::ResultSet doesn't contain a constructor named 'new'. If you&nbsp;are certain you don't need to inline your constructor, specify inline_constructor =&gt; 0 in your call to&nbsp;MyApp::Schema::ResultSet-&gt;meta-&gt;make_immutable<br class="">------------------------------------------------------------</div><div class=""><br class=""></div><div class="">i did use moose in my ResultSet classes as descrived here:</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://search.cpan.org/~ribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose" class="">http://search.cpan.org/~ribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose</a></div><div class=""><br class=""></div><div class="">if i put&nbsp;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>__PACKAGE__-&gt;meta-&gt;make_immutable( inline_constructor =&gt; 0 );</div><div class=""><br class=""></div><div class="">at the end of my packages, the warning disappears but its not working anyway.</div><div class=""><br class=""></div><div class="">the following errors occure...e.g:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>"Can't call method "columns" on an undefined value at /usr/local/....DBIx/Class/ResultSet.pm line 3538</div><div class="">or&nbsp;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Can't use an undefined value as a HASH reference at /usr/local/.../DBIx/Class/ResultSet.pm line 477</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">anyidea whats wrong here ?</div><div class=""><br class=""></div><div class="">thanks for you support,</div><div class="">bernhard</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">—</div><div class="">Bernhard Bauch</div><div class="">Webdevelopment</div><div class=""><br class=""></div><div class=""><div class="">ZSI-Zentrum für Soziale Innovation GmbH<br class="">Centre for Social Innovation<br class=""><br class="">Linke Wienzeile 246, A-1150 Wien, Austria</div><div class="">Mail:&nbsp;<a href="mailto:bauch@zsi.at" class="">bauch@zsi.at</a></div></div><div class="">Skype: berni-zsi</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div>_______________________________________________<br class="">List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" class="">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</a><br class="">IRC: <a href="http://irc.perl.org" class="">irc.perl.org</a>#dbix-class<br class="">SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" class="">http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</a><br class="">Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" class="">http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</a><br class=""><br class="">!DSPAM:57d914db170079883714898!<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">—</div><div class="">Bernhard Bauch</div><div class="">Webdevelopment</div><div class=""><br class=""></div><div class=""><div class="">ZSI-Zentrum für Soziale Innovation GmbH<br class="">Centre for Social Innovation<br class=""><br class="">Linke Wienzeile 246, A-1150 Wien, Austria</div><div class="">Mail:&nbsp;<a href="mailto:bauch@zsi.at" class="">bauch@zsi.at</a></div></div><div class="">Skype: berni-zsi</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></body></html>