cubicweb #504759 reledit displays composite relations twice [resolved]

proposed patch:

diff -r 62d6ab877694 web/views/editforms.py
--- a/web/views/editforms.py   Tue Nov 03 11:19:10 2009 +0100
+++ b/web/views/editforms.py   Tue Nov 03 11:47:40 2009 +0100
@@ -277,10 +277,8 @@
         dispctrl = uicfg.primaryview_display_ctrl.etype_get(eschema, rtype, role)
         vid = dispctrl.get('vid', 'reledit')
         if vid != 'reledit': # reledit explicitly disabled
-            self.wview(vid, entity.related(rtype, role), 'null')
             return False
         if eschema.role_rproperty(role, rschema, 'composite') == role:
-            self.wview(rvid, entity.related(rtype, role), 'null')
             return False
         return super(AutoClickAndEditFormView, self).should_edit_relation(
             entity, rschema, role, rvid)
prioritynormal
typebug
done in3.5.6
load0.100
load left0.000
closed by<not specified>