Login | Register
My pages Projects Community openCollabNet

Discussions > dev > NULLs and XML

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list



Author jaredgreenwald
Full name Jared Greenwald
Date 2006-09-21 08:14:32 PDT
Message I ran into a problem recently with the cx_Oracle framework in that I
needed to explicitly set channel.parentchannel_id to '' if I wanted a
zero length string. A value of None (aka NULL) would produce a 0.

Anyway, one of the things that was manifest by this was that the xmlrpc
code that calls dump_array just doesn't work if there are None values.
I'm not sure if this is a big problem since the real true fix is in
entering in the information correctly, but in the event that some bad
data was in the table xmlrpc would fall all over itself trying to deal
with the None.

I have a patch to xmlrpc that will convert any Nones to '' - pretty
simple stuff. Take it or leave it, doesn't matter to me.


« Previous message in topic | 1 of 2 | Next message in topic »


Show all messages in topic

NULLs and XML jaredgreenwald Jared Greenwald 2006-09-21 08:14:32 PDT
     Re: NULLs and XML jaredgreenwald Jared Greenwald 2006-09-21 19:20:40 PDT
Messages per page: