Fix inner null objects in the extdirect protocol

This commit is contained in:
Christophe de Vienne 2013-05-13 18:57:54 +02:00
parent d05fb583eb
commit 82d97971fc

View File

@ -81,6 +81,8 @@ Ext.ns("%(fullns)s");
@generic
def fromjson(datatype, value):
if value is None:
return None
if iscomplex(datatype):
newvalue = datatype()
for attrdef in list_attributes(datatype):