Branch: refs/heads/working
Home: https://github.com/dabodev/dabo
Commit: edc0e5cbd28b717242a268491b7c31a1732be6a3
https://github.com/dabodev/dabo/commit/edc0e5cbd28b717242a268491b7c31a1732be6a3
Author: Paul McNett <[email protected]>
Date: 2013-01-24 (Thu, 24 Jan 2013)
Changed paths:
M dabo/ui/uiwx/dGrid.py
Log Message:
-----------
Fix getBizobj() to not implicitly set DataSource.
Back in 2007, in commit 54b9e32e162bffea7ca78d36a1e8fb72784717d8
we did a performance optimization to keep from having to continually
get the bizobj reference by datasource from the form, which seemed
like a good idea at the time.
However, what if the form changes the biz instance that the
datasource refers to? I'll concede that this would be a rare event,
however this was a very difficult thing for me to track down, and
once I found the cause, there wasn't a way for my code to change the
behavior, so in this case I think sacrificing performance for
safety is warranted.
--- StripMime Report -- processed MIME parts ---
multipart/mixed
text/plain (text body -- kept)
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]