Ed Leafe wrote: > On Oct 22, 2007, at 9:20 AM, Paul McNett wrote: > >> Wait, other than the missing where clause, how is the test SQL >> incorrect? > > Well, since the filtering is the whole point of the test, how is the > test SQL correct at all? It's just a 'select * from table'.
The filtering is an assumption about the various tests, but not the point of the test itself. The test assumes that Dabo is going to correctly set the child filter based on the parent record. Else, what's the point of having parent/child relationships? >> The only thing that should happen to that SQL is the filter, in the >> case >> that the proper properties have been set, of course. > > So there should be two filters if the developer writing the SQL > writes it correctly? That's what I meant when I asked if you think > that the framework should examine the UserSQL to determine if it does > what we think it should be doing. > > If I'm setting UserSQL, I'm *explicitly* saying that I want to > control the SQL, and that the framework should not mess with it. If I'm setting UserSQL, and FillLinkFromParent, and LinkField, and it has a Parent, I'm pretty clearly stating that I expect a filter on the parent record. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
