alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

XML(None) raises error (fixed) #11

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

From robi...@gmail.com on June 18, 2008 10:49:42

What steps will reproduce the problem? 1. return dict(xml=XML(None)) from function 2. 3. What is the expected output? None, or no output

What do you see instead?

html.py", line 147, in _xml co=''.join([xmlescape(component) for component in self.components]) TypeError: sequence item 0: expected string, NoneType found What version of the product are you using? On what operating system? r263 Please provide any additional information below.

Original issue: http://code.google.com/p/web2py/issues/detail?id=11

alfonsodg commented 10 years ago

From massimod...@gmail.com on June 18, 2008 17:51:24

Summary: XML(None) raises error (fixed)
Status: Fixed