Actually NULL doesn't depend on the SQL dialect, thank god!
Go ahead.

Florent

On 25 Apr 2007, at 09:42, Jose Luis de la Rosa Triviño wrote:

Hello everybody,

After a ValueError using an SQLDirectory and searching for the reason I found the method getSQLValue (https://svn.nuxeo.org/trac/ pub/browser/CPS3/products/CPSDirectory/trunk/SQLDirectory.py#L125) which quotes from python values to sql values. I thought this method needs to deal with None types also, the lines to add would be:

elif value is None:
           # XXX probably depends on SQL dialect
           return 'NULL'


If you agree I will create a ticket and commit changes to the trunk.

Regards,

Jose Luis.



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel


--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to