dabo Commit
Revision 5623
Date: 2010-02-01 17:01:34 -0800 (Mon, 01 Feb 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5623
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Another fix for the null value in string column issue.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2010-02-02 00:52:01 UTC (rev 5622)
+++ trunk/dabo/db/dCursorMixin.py 2010-02-02 01:01:34 UTC (rev 5623)
@@ -1869,7 +1869,11 @@
except AttributeError:
return val
searchList = [safeLower(first) for first, second in
sortList]
- matchVal = val.lower()
+ try:
+ matchVal = val.lower()
+ except AttributeError:
+ # this is a string colum, but seeking a null
value.
+ matchVal = val
else:
matchVal = val
searchList = [first for first, second in sortList]
_______________________________________________
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]