<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2015-01-19 00:47, Mitchell Elutovich wrote:<br>
<blockquote cite="mid:CAJO0H6sBFwM8UWXMJRSun1U7D1ecaxMZv-GNVDNprsz&#43;UxdYMA@mail.gmail.com" type="cite">
<div dir="ltr">
<div style="font-size:13px">Correction again.&nbsp; I am seeing this with the latest DBIX version of 0.082810</div>
</div>
</blockquote>
Note that the abbreviation for DBIx::Class ist DBIC, not DBIx which is a whole CPAN namespace.<br>
<blockquote cite="mid:CAJO0H6sBFwM8UWXMJRSun1U7D1ecaxMZv-GNVDNprsz&#43;UxdYMA@mail.gmail.com" type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 16, 2015 at 6:59 AM, Mitchell Elutovich <span dir="ltr">
&lt;<a moz-do-not-send="true" href="mailto:melutovich@gmail.com" target="_blank">melutovich@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I've checked and my perl DBIX version is not as a quoted but rather is 0.08196</div>
<div><br>
</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 16, 2015 at 5:41 AM, Mitchell Elutovich <span dir="ltr">
&lt;<a moz-do-not-send="true" href="mailto:melutovich@gmail.com" target="_blank">melutovich@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>$perl -v</div>
<div>This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi<br>
</div>
<div><br>
</div>
<div>
<div>$ perl -MDBIx::Class -le 'print $DBIx::Class::VERSION'</div>
<div>0.082810</div>
</div>
<div><br>
</div>
<div>Anyone know why I might be now running into this?&nbsp; I'm not sure how long this problem has existed and I thought I was originally using the sub class ok.</div>
<div><br>
</div>
<div>[2015/01/16 10:29:03] ERROR VLjn2099aP8AAFDcB7sAAAAA View/TT.pm:245 <a moz-do-not-send="true" href="http://Catalyst.View.TT" target="_blank">
Catalyst.View.TT</a> - Couldn't render template &quot;xxx/yyy/index.tt2: undef error - DBIx::Class::ResultSource::_resolve_relationship_condition(): Arg\</div>
<div>ument 'self_result_object' must be an object of class 'CatTxA::Model::DB::Document' at /mnt/ext1/melutovich/cvc/repo/CatTxA/script/../lib/CatTxA/Schema/Document.pm line 716</div>
<div>&quot;</div>
<div><br>
</div>
<div>Line 716 is like:</div>
<div>
<div>&nbsp; &nbsp; my $result = $doc-&gt;documenttypecd-&gt;doSomething();</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>At the beginning of Document.pm I've got.</div>
<div>
<div><br>
</div>
<div>my ($xxxDocumentTypeCd) = (qw(XXX));</div>
<div>my $xxxSubClass = __PACKAGE__ . '::' . $xxxDocumentTypeCd;</div>
<div>sub inflate_result {</div>
<div>&nbsp; &nbsp; my $self = shift;</div>
<div>&nbsp; &nbsp; my $ret = $self-&gt;next::method(@_);</div>
<div>&nbsp; &nbsp; my $documentTypeCd = $ret-&gt;documentTypeCd;</div>
<div>&nbsp; &nbsp; given ($documentTypeCd) {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; when( $xxxDocumentTypeCd ) {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $self-&gt;ensure_class_loaded( $xxxSubClass );</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bless ($ret, $xxxSubClass);</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; default {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bless ($ret, $self);</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp; return $ret;</div>
<div>}</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>thanks in advance.</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
List: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</a>
IRC: irc.perl.org#dbix-class
SVN: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/">http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</a>
Searchable Archive: <a class="moz-txt-link-freetext" href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk">http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</a></pre>
</blockquote>
<br>
<br>
<font face="Verdana" color="Purple" size="2"><br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien<br>
Handelsgericht Wien, FN 79340b<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
Notice: This e-mail contains information that is confidential and may be privileged.<br>
If you are not the intended recipient, please notify the sender and then<br>
delete this e-mail immediately.<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
</font>
</body>
</html>