server/querier.py
branchstable
changeset 3109 e7e1bb06b716
parent 2680 66472d85d548
child 3171 b10f0c1f3fe4
--- a/server/querier.py	Mon Sep 07 20:23:40 2009 +0200
+++ b/server/querier.py	Tue Sep 08 10:46:47 2009 +0200
@@ -608,6 +608,8 @@
                     # return an empty result instead of raising UnknownEid
                     return empty_rset(session, rql, args)
                 cachekey.append(etype)
+                # ensure eid is correctly typed in args
+                args[key] = typed_eid(args[key])
             cachekey = tuple(cachekey)
         else:
             cachekey = rql