cubicweb-container #3488993 ContainerProtocol.related_container crashes [resolved]

File "/home/dlaxalde/src/cw/cubes/container/hooks.py", line 92, in __call__
_set_container_parent(self._cw, self.rtype, eid, peid)
File "/home/dlaxalde/src/cw/cubes/container/hooks.py", line 61, in _set_container_parent
container = target.cw_adapt_to('Container').related_container
File "/home/dlaxalde/src/cw/cubes/container/entities.py", line 85, in related_container
if self.entity.e_schema not in container.container_skipetypes:
AttributeError: 'NoneType' object has no attribute 'container_skipetypes'

prioritynormal
typebug
done in2.3.0
load0.100
load left0.000
closed by#50e501565b67 [container adapter] Allow builing top-less containers
patchHandle entities not related to their container in _set_container_parent [applied]Add a test case for #3488993 [applied]Fix crash in ContainerProtocol.related_container when parent has no related container [folded]