Bug in MyComponentFactory.CreateInstanceByType *fix in description*
Reported
The issue is on the first line:
type.IsAssignableFrom(typeof(MyComponentBase))
should be
typeof(MyComponentBase).IsAssignableFrom(type)
It is currently written so only MyComponentBase or IMyComponentBase can pass this check, rather than the intended behavior of enforcing that the type inherit MyComponentBase.
This method is used by:
MyComponentContainerExtension.InitComponents when InstanceType is used in a MyContainerDefinition.DefaultComponent
and MyComponentContainerExtension.TryAddComponent
Hello vulpin,
Thank you for reaching our forum and letting us know about this issue.
We have put it into our internal system.
Kind Regards,
Keen Software House: QA Department
Hello vulpin,
Thank you for reaching our forum and letting us know about this issue.
We have put it into our internal system.
Kind Regards,
Keen Software House: QA Department
Replies have been locked on this page!