cubicweb-container #3221815 entity without container_parent get caught in bad hook [resolved]

AttributeError 'GGNode' object has no attribute 'container_parent'

That's because the set_container_parent_rtypes_hook function does not compute the frometypes & toetypes sets (iow full rdefs), hence some unwanted entities get trapped.

priorityimportant
typebug
done in2.2.0
load0.300
load left0.000
closed by#4d5618d3a8e2 Fold SetContainerParent and SetContainerRelation hook (closes #3221815)
patchFold SetContainerParent and SetContainerRelation hook (closes #3221815) [applied]