You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error is not clear. AttachOrReplaceChild should take that in consideration and throw/warn that name is already registered instead
Actual Behavior
Throws InvalidCastException
Steps to Reproduce the Problem
Add a DataLoader with a given name to a VM
Use AttachOrReplaceChild and give the same name to the disposable - i.e vm being attached/replace
Notice that it throws with a InvalidCastException
Specifications
Version: Latest
Platform: All
Subsystem:
The text was updated successfully, but these errors were encountered:
vincentcastagna
changed the title
[All] AttachOrReplaceChild throws invalid cast exception when two disposables got the same name
[All] AttachOrReplaceChild throws InvalidCastException when two disposables got the same name
Nov 17, 2021
Expected Behavior
AttachOrReplaceChild
should take that in consideration and throw/warn that name is already registered insteadActual Behavior
InvalidCastException
Steps to Reproduce the Problem
DataLoader
with a given name to a VMAttachOrReplaceChild
and give the same name to the disposable - i.e vm being attached/replaceInvalidCastException
Specifications
The text was updated successfully, but these errors were encountered: