add XXX note stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 23 Feb 2010 12:52:40 +0100
branchstable
changeset 4662 79c0788ba7f6
parent 4661 87672c718c3c
child 4663 ebbe62209f4e
add XXX note
web/views/forms.py
--- a/web/views/forms.py	Tue Feb 23 12:51:20 2010 +0100
+++ b/web/views/forms.py	Tue Feb 23 12:52:40 2010 +0100
@@ -250,6 +250,8 @@
         # entity primary view
         if self._cw.json_request and self.edited_entity.has_eid():
             return '%s#%s' % (self.edited_entity.absolute_url(), self.domid)
+        # XXX we should not consider some url parameters that may lead to
+        # different url after a validation error
         return '%s#%s' % (self._cw.url(), self.domid)
 
     def build_context(self, formvalues=None):