--- a/cubicweb/entity.py Fri Sep 30 17:39:17 2016 +0200
+++ b/cubicweb/entity.py Thu Oct 06 12:15:50 2016 +0200
@@ -623,9 +623,13 @@
"""
return self.has_eid() and self._cw_is_saved
+ @deprecated('[3.24] cw_metainformation is deprecated')
@cached
def cw_metainformation(self):
- return self._cw.entity_metas(self.eid)
+ source = self.cw_source[0].name
+ return {'type': self.cw_etype,
+ 'extid': self.cwuri if source != 'system' else None,
+ 'source': {'uri': source}}
def cw_check_perm(self, action):
self.e_schema.check_perm(self._cw, action, eid=self.eid)