diff -r ea9eab290dcd -r e8032965f37a entity.py --- a/entity.py Fri May 29 14:07:42 2009 +0200 +++ b/entity.py Fri May 29 14:19:30 2009 +0200 @@ -724,9 +724,8 @@ If `eid` is None in one of these couples, it should be interpreted as a separator in case vocabulary results are grouped """ - from cubicweb.web.form import EntityFieldsForm from logilab.common.testlib import mock_object - form = EntityFieldsForm(self.req, entity=self) + form = self.vreg.select_object('forms', 'edition', self.req, entity=self) field = mock_object(name=rtype, role=role) return form.form_field_vocabulary(field, limit)