don't override req.form['vid'] in the publisher's error_handler
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 13 May 2015 17:49:45 +0200
changeset 10389 f9b06d03859f
parent 10388 90fcddcce166
child 10390 0bbd211cf4d7
don't override req.form['vid'] in the publisher's error_handler closes #5359234
web/application.py
--- a/web/application.py	Mon Jun 15 10:49:33 2015 +0200
+++ b/web/application.py	Wed May 13 17:49:45 2015 +0200
@@ -568,7 +568,6 @@
             req.data['ex'] = ex
             if tb:
                 req.data['excinfo'] = excinfo
-            req.form['vid'] = 'error'
             errview = self.vreg['views'].select('error', req)
             template = self.main_template_id(req)
             content = self.vreg['views'].main_template(req, template, view=errview)