Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 43013
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: sundial.services [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: (Doc issue) "DBIx::Class::Manual::Joins" needs note about "prefetch"
Date: Tue, 3 Feb 2009 20:33:54 -0600
To: bug-DBIx-Class [...] rt.cpan.org
From: Sundial Services <sundial.services [...] gmail.com>
Download (untitled) / with headers
text/plain 600b
This one threw me for several(!!) days... The example in "DBIx::Class::Manual::Joins" (about "across multiple relations" .. tables and chairs and legs and stuff ..) badly needs to make a point about "prefetch." Namely, that the "prefetch" list needs to match the "join" list. You do, in fact, talk about that explicitly ... in "Cookbook." But that's "in a galaxy far, far away." The "manual on joining" page needs to emphasize this crucial point. Without it, it's very likely that (as in my case...) what you try to do, "following the example," just won't work and you just won't know why not.
Download (untitled) / with headers
text/plain 935b
On Tue Feb 03 21:35:31 2009, sundialservices wrote: Show quoted text
> This one threw me for several(!!) days... > > The example in "DBIx::Class::Manual::Joins" (about "across multiple > relations" .. tables and chairs and legs and stuff ..) badly needs to
make a Show quoted text
> point about "prefetch." > > Namely, that the "prefetch" list needs to match the "join" list. > > You do, in fact, talk about that explicitly ... in "Cookbook." But that's > "in a galaxy far, far away." > > The "manual on joining" page needs to emphasize this crucial point.
Without Show quoted text
> it, it's very likely that (as in my case...) what you try to do,
"following Show quoted text
> the example," just won't work and you just won't know why not.
I would say this is an actual bug - the join list should be correctly merged, coming from both prefetch and join. Please submit several failing test additions to t/77prefetch.t (svn http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk). Thanks
Download (untitled) / with headers
text/plain 441b
On Tue Feb 03 21:35:31 2009, sundialservices wrote: Show quoted text
> This one threw me for several(!!) days... > > The example in "DBIx::Class::Manual::Joins" (about "across multiple > relations" .. tables and chairs and legs and stuff ..) badly needs to
make a Show quoted text
> point about "prefetch." > > Namely, that the "prefetch" list needs to match the "join" list. >
Can you provide us with an example of such a failure? I couldn't duplicate this here. Thanks
Download (untitled) / with headers
text/plain 339b
Latest test additions[1] indicate that this bug is either no longer in the current code base, or that there is something additional the reporter did to trigger it. Rejecting as no more information is available. [1]: http://dev.catalyst.perl.org/svnweb/bast/view/DBIx-Class/0.08/branches/diamond_relationships/t/prefetch/diamond.t?rev=6157


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.