Roundup Tracker - Issues

Issue 2550609

classification
rdbms_common tries to incorrectly coerce to unicode [PATCH]
Type: behavior Severity: normal
Components: Infrastructure Versions: 1.4
process
Status: closed fixed
:
: stefan : stefan, wolever
Priority: : patch

Created on 2009-11-24 19:52 by wolever, last changed 2009-11-24 20:23 by wolever.

Files
File name Uploaded Description Edit Remove
Issue2550609-unicode.diff wolever, 2009-11-24 19:53
Issue2550609-unicode.diff wolever, 2009-11-24 20:23
Messages
msg3915 Author: [hidden] (wolever) Date: 2009-11-24 19:52
indexer_rdbms assumes that "some text" (not sure exactly what text…) will be an instance of 
'str', but if it's 'unicode' there's an explosion.

This is a problem for me, because I'm writing code which interacts with the Roundup DB, and it 
deals exclusively with unicode.

Attached is a patch.
msg3916 Author: [hidden] (stefan) Date: 2009-11-24 20:14
I applied the (slightly corrected) patch as per rev:4386.
Thanks for the report and the fix !
msg3917 Author: [hidden] (wolever) Date: 2009-11-24 20:23
Alright, well, just about every line of that first patch was wrong… But here's the more correct 
version.

Thanks for the help, stefan.
History
Date User Action Args
2009-11-24 20:23:06woleversetfiles: + Issue2550609-unicode.diff
messages: + msg3917
2009-11-24 20:14:09stefansetstatus: new -> closed
assignee: stefan
resolution: fixed
messages: + msg3916
nosy: + stefan
2009-11-24 19:53:07woleversetfiles: + Issue2550609-unicode.diff
keywords: + patch
2009-11-24 19:52:35wolevercreate