Ed Leafe wrote: > On Oct 22, 2007, at 1:04 AM, Paul McNett wrote: > >> I think that the child filter should be able to work whether the >> sqlbuilder or UserSQL was set by the developer. And I think that we >> should test both cases. > > Sorry, but that just seems wrong. Let's say I want to control the > SQL that gets executed, so I write my own. I know that this is for a > child bizobj, so I write the correct relationship filter. You're > saying that the framework should be able to distinguish between > correctly-written UserSQL for child bizobjs and leave that alone, and > incorrect SQL like that in the test, and take it upon itself to > modify it?
Wait, other than the missing where clause, how is the test SQL incorrect? > The presence of UserSQL means that the framework uses that and > doesn't do any automatic SQL generation. If it's wrong, then it is > the responsibility of the author of that SQL, not us. The only thing that should happen to that SQL is the filter, in the case that the proper properties have been set, of course. -- 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]
