Użytkownik Ed Leafe napisał:
> dabo Commit
> Revision 5609
> Date: 2010-01-30 14:09:11 -0800 (Sat, 30 Jan 2010)
> Author: Ed
> Trac: http://trac.dabodev.com/changeset/5609
>
> Changed:
> U trunk/dabo/db/dCursorMixin.py
>
> Log:
> Fixed a problem in the seek() method when called from the bizobj when the
> table has a compound pk. Also improved the algorithm for matching and
> near-matching.
>
I found one issue yet, it's code:
raise dabo.dException.RowNotFoundException, _("PK Value %s not
found in the dataset") % pk
in dBizobj.moveToPK() method.
For compound PK, there is exception:
TypeError: not all arguments converted during string formatting
I think that instead of "pk" there should be "str(pk)" conversion.
--
Regards
Jacek Kałucki
_______________________________________________
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]