<br><tt><font size=2>Moritz Lenz &lt;moritz@faui2k3.org&gt; wrote on 06/19/2012
01:16:42 PM:<br>
<br>
&gt; From:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Moritz Lenz &lt;moritz@faui2k3.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; To:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; dbix-class@lists.scsys.co.uk</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Date:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 06/19/2012 01:20 PM</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Subject:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Re: [Dbix-class] Search_rs not returning newly created rows</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On 06/19/2012 05:27 PM, Kenneth S Mclane wrote:<br>
&gt; &gt; I have succeeded in creating a new row in my table with &quot;-&gt;create&quot;.
I<br>
&gt; &gt; then go back to my page that lists all the rows in that table,
and I get<br>
&gt; &gt; the list using &quot;search_rs&quot;, but the newly created rows
are not showing.<br>
&gt; &gt; I verified that the rows do exist. I'm not sure why this isn't
working.<br>
&gt; <br>
&gt; Maybe an uncommitted transaction somewhere?<br>
&gt; Does your database have the facility to list open transactions? If
yes,<br>
&gt; do that while the program is running; maybe you'll find something
of<br>
&gt; interest.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; Moritz<br>
&gt; <br>
It looks like it is because of the relationships limiting the rows returned.
I can comment out the prefetch statement and my extra rows actually show
up. In one case this works fine, in another it causes the search to fail.
I think I may need to create a second rs with just the related data so
if I get a null value I can bypass it. Not sure exactly how to do this
and keep the data straight.<br>
</font></tt>