<div dir="ltr">Petter if I remove the check (line 1909) everything else seems to behave sensibly.  Before you just go off and remove it I noticed that there is a little more going on here.<div><br></div><div><br></div><div>We are using Catalyst and it is called for simplicity YYY.  I just noticed that the error message is that it is expected a YYY::Model::DB::Document.pm, while the parent package name is YYY::Schema::Document.pm<div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 19, 2015 at 5:17 AM, Peter Rabbitson <span dir="ltr">&lt;<a href="mailto:rabbit+dbic@rabbit.us" target="_blank">rabbit+dbic@rabbit.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/16/2015 11:41 AM, Mitchell Elutovich wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$perl -v<br>
This is perl 5, version 16, subversion 3 (v5.16.3) built for<br>
x86_64-linux-thread-multi<br>
<br>
$ perl -MDBIx::Class -le &#39;print $DBIx::Class::VERSION&#39;<br>
0.082810<br>
<br>
Anyone know why I might be now running into this?  I&#39;m not sure how long<br>
this problem has existed and I thought I was originally using the sub<br>
class ok.<br>
</blockquote>
<br></span>
This is a new check that was introduced during the 0.0828xx series. It was introduced due to a lot of abuse-cases of the relationship system. Nevertheless in this case it seems like a false positive - i.e. your usage seems valid.<br>
<br>
Can you please disable the exception-check in question in<br>
DBIx::Class::ResultSource::_<u></u>resolve_relationship_<u></u>condition, and tell me if everything else seems to behave in a sensible manner?<br>
<br>
If this is the case - I would have to remove this check going forward.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" target="_blank">http://lists.scsys.co.uk/cgi-<u></u>bin/mailman/listinfo/dbix-<u></u>class</a><br>
IRC: <a href="http://irc.perl.org#dbix-class" target="_blank">irc.perl.org#dbix-class</a><br>
SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" target="_blank">http://dev.catalyst.perl.org/<u></u>repos/bast/DBIx-Class/</a><br>
Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" target="_blank">http://www.grokbase.com/group/<u></u>dbix-class@lists.scsys.co.uk</a><br>
</div></div></blockquote></div><br></div></div></div></div>