diff -r c7a95ebcc093 -r 010a59e12d89 web/views/json.py --- a/web/views/json.py Tue Apr 23 15:16:36 2013 +0200 +++ b/web/views/json.py Tue Apr 23 15:33:50 2013 +0200 @@ -114,7 +114,7 @@ entity.complete() # fetch all attributes # hack to add extra metadata entity.cw_attr_cache.update({ - '__cwetype__': entity.__regid__, + '__cwetype__': entity.cw_etype, }) entities.append(entity) self.wdata(entities)