On Wednesday 22 April 2009 02:25:15 pm Paul McNett wrote:
> Paul McNett wrote:

>
> I think what is happening is that I'm constructing the SQL from clause
> as follows:
>
> 111     self.setFromClause("""prod_cust
> 112  left join product_lines
> 113    on product_lines.id = prod_cust.prod_id
> 114  left join customers
> 115    on customers.id = prod_cust.cust_id""")
>
> The new code in setChildFilter() seems to assume (by using split()[-1])
> that the last word in the from clause is going to be the table alias,
> but in my case the last 'word' is 'prod_cust.cust_id'.
>
> My code above was written prior to dabo having addJoin() and I could
> certainly rewrite it, but I really don't want to have to if it can be
> avoided (there are many bizobjs written this way).
>
> Thanks
> Paul

I consider that issue because I'm setting the where clause on my stuff (after 
a lookup).  But I did not find where the code was breaking.



-- 
John Fabiani

_______________________________________________
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]

Reply via email to