Hi Nick:
On Mon, 25 Feb 2008, Tibor Simko wrote:
> On Sat, 23 Feb 2008, Zbigniew Leonowicz wrote:
>
>> I found another one in submission:
>> When going directly from the first tab to the fourth I got:
>>
>> [...]
>>
>> File "/usr/local/lib/python2.5/site-packages/invenio/websubmit_engine.py",
>> line 444, in interface
>> returnto = returnto,
>>
>> File
>> "/usr/local/lib/python2.5/site-packages/invenio/websubmit_templates.py",
>> line 800, in tmpl_page_interface_js
>> 'msg' : _("The field %(field)s is mandatory.") + '\n' + _("Going back to
>> page") + returnto['page'],
>>
>> TypeError: cannot concatenate 'str' and 'long' objects
I tested this problem with the CVS version and demo TEXT submission.
- If page 1 is empty and I click on page 4, everything is okay, so
Zbigniew's 0.92.1 problem might have been been fixed in the
meantime.
- But if I fill page 1 fully and click on page 4, another problem pops
up:
File "/usr/lib/python2.4/site-packages/invenio/websubmit_webinterface.py",
line 526, in _index
nbPg, curpage)
File "/usr/lib/python2.4/site-packages/invenio/websubmit_engine.py", line
591, in interface
returnto = returnto,
File "/usr/lib/python2.4/site-packages/invenio/websubmit_templates.py", line
803, in tmpl_page_interface_js
out += """alert ("%(msg)s");
TypeError: cannot concatenate 'str' and 'long' objects
Best regards
--
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>