#343256: form redirection stopped working with 3.2 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 18 May 2009 18:42:12 +0200
branchstable
changeset 1847 c5714f07f869
parent 1846 738541c2a729
child 1848 981b8dc9e4d0
child 1851 c707419980f8
#343256: form redirection stopped working with 3.2
web/views/editforms.py
--- a/web/views/editforms.py	Mon May 18 16:43:02 2009 +0200
+++ b/web/views/editforms.py	Mon May 18 18:42:12 2009 +0200
@@ -350,7 +350,8 @@
     def render_form(self, entity, peid, rtype, role, **kwargs):
         """fetch and render the form"""
         form = self.vreg.select_object('forms', 'edition', self.req, None,
-                                       entity=entity, set_error_url=False)
+                                       entity=entity, set_error_url=False,
+                                       copy_nav_params=False)
         self.add_hiddens(form, entity, peid, rtype, role)
         divid = '%s-%s-%s' % (peid, rtype, entity.eid)
         title = self.schema.rschema(rtype).display_name(self.req, role)