cubicweb-container #3702094 hooks._set_container_parent crash [resolved]

This happens when target already has a container_parent which is not related to a container (yet). When adapting target and parent to Container, both have no related_container so the test container.eid != parent_container.eid raises an AttributeError: 'NoneType' object has no attribute 'eid'.

prioritynormal
typebug
done in2.6.0
load0.500
load left0.000
closed by#62c2928e0eac Handle entities not related to their container in _set_container_parent
patchHandle entities not related to their container in _set_container_parent [applied]