On May 1, 2008, at 2:25 PM, Paul McNett wrote:
> So the answer to your question is: "I don't know." I think I left the
> IsAdding check there because it was there before, but added the
> RowCount
> check because it was needed for what I was fixing. At first glance it
> seems like IsAdding would only ever be True when there's a row, so it
> wouldn't matter.
I think that the assumption that if the parent is a new, unsaved
record was the basis for skipping the filtering process, hence the
check for isAdding. You added the other case where child records could
not exist. I think, especially given Karsten's example, that the
initial assumption that a bizobj couldn't have child records if
isAdding = True is just wrong.
> I hope this helps!
It does, as it clarifies my thinking about how that code came to be.
I'll post a change soon.
-- Ed Leafe
_______________________________________________
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/[EMAIL PROTECTED]