web/views/urlrewrite.py
changeset 8748 f5027f8d2478
parent 8632 fa044b9157d7
child 9255 46f41c3e1443
--- a/web/views/urlrewrite.py	Wed Mar 20 17:58:14 2013 +0100
+++ b/web/views/urlrewrite.py	Tue Mar 12 12:50:05 2013 +0100
@@ -19,7 +19,6 @@
 
 import re
 
-from cubicweb import typed_eid
 from cubicweb.uilib import domid
 from cubicweb.appobject import AppObject
 
@@ -186,7 +185,7 @@
                     except KeyError:
                         kwargs[key] = value
                     if cachekey is not None and key in cachekey:
-                        kwargs[key] = typed_eid(value)
+                        kwargs[key] = int(value)
             if setuser:
                 kwargs['u'] = req.user.eid
             for param in rqlformparams: