Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Step1:
DelegateContainerParent -> DefaultPico1
Step 2:
ChildDelegate = DelegateContainerParent.makeChildContainer();
which will give us (ChildDelegate -> DefaultPico2)
Step 3: Apply a visitor to DelegateContainerParent
End Result:
Currently Visit Order will be:
DelegateContainerParent, DefaultPico1, DefaultPico2
And ChildDelegate will be left out of the loop completely.
This is because DefaultPicoContainer's visit container method visits all the child containers.
The way visitor stuff is working, I don't really see a simple way to fix this?