Paul McNett wrote:
> Uwe Grauer wrote:
>> Ed Leafe wrote:
>>> dabo Commit
>>> Revision 5180
>>> Date: 2009-04-18 06:55:13 -0700 (Sat, 18 Apr 2009)
>>> Author: Ed
>>> Trac: http://trac.dabodev.com/changeset/5180
>>>
>>> Changed:
>>> U trunk/dabo/biz/dBizobj.py
>>> U trunk/dabo/db/dCursorMixin.py
>>>
>>> Log:
>>> Revamped the code for determining the alias used in a child filter.
>>> Previously the bizobj's DataSource was used, which incorrectly assumed that
>>> that would be the correct alias. This addresses the issue (Trac #1228)
>>> raised by Sibylle Koczian.
>>>
>>>
>> I noticed that this commit breaks my code.
>>
>> With rev 5180, i get:
>> ./fwadm.py
>> ...
>> alias = self.sqlManager._fromClause.split()[-1]
>> IndexError: list index out of range
>>
>> rev 5179 works for me.
>>
>> If you need more info, just ask.
>
> Did you see this thread:
>
> http://leafe.com/archives/showMsg/418990
>
> Does revision 5204 (http://trac.dabodev.com/changeset/5204) change or fix
> your issue?
>
> Paul
No, i get the same error with rev 5204.
This method triggers the error:
def requerybysearch(self):
val = self.dSearchToken.Value
etypBizobj = self.getBizobj(dataSource="ETYP")
if val == None or val == "":
etypBizobj.setWhereClause("")
etypBizobj.setParams(())
else:
etypBizobj.setWhereClause("e_tok starting with ?")
etypBizobj.setParams((self.dSearchToken.Value,))
self.requery()
self.refresh()
Uwe
_______________________________________________
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]