#235: WebSubmit: empty response elements produce tracebacks
-----------------------+----------------------------------------------------
Reporter: jcaffaro | Owner:
Type: defect | Status: new
Priority: trivial | Milestone:
Component: WebSubmit | Version:
Keywords: |
-----------------------+----------------------------------------------------
if the an empty response element (empty "value" field) is used on a
submission page, it produces a traceback:
{{{
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/invenio/websubmit_engine.py",
line 496, in interface
co = compile (full_field ['htmlcode'].replace("\r\n","\n"),
"<string>", "exec")
AttributeError: 'NoneType' object has no attribute 'replace'
Locals by frame, innermost last
}}}
--
Ticket URL: <http://invenio-software.org/ticket/235>
Invenio <http://invenio-software.org>