[json controler] extraargs in js_component contains unicode keys which may not be given as argument names stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 Jan 2011 17:47:50 +0100
branchstable
changeset 6787 aede8c85207f
parent 6786 ce35c6f2f219
child 6788 0f31ed3fff79
[json controler] extraargs in js_component contains unicode keys which may not be given as argument names
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Thu Jan 06 11:56:06 2011 +0100
+++ b/web/views/basecontrollers.py	Thu Jan 06 17:47:50 2011 +0100
@@ -419,7 +419,7 @@
                                               **optional_kwargs(extraargs))
         #except NoSelectableObject:
         #    raise RemoteCallFailed('unselectable')
-        return self._call_view(comp, **extraargs)
+        return self._call_view(comp, **optional_kwargs(extraargs))
 
     @xhtmlize
     def js_render(self, registry, oid, eid=None,