[SPRNET-1584] Spring.Core getallassembies failed if the type is not loaded Created: 05/Feb/16  Updated: 05/Feb/16

Status: Open
Project: Spring.NET
Component/s: Spring-NET-CORE
Affects Version/s: 2.0 M1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: VerĂ³nica Pazos Assignee: Steve Bohlen
Resolution: Unresolved Votes: 0
Labels: bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


if the first time that a type is resolved, it is used without the assembly name (i.e. it is the type for a list), since the type is not in the load assemblies, the resolve type fails.

<object name="Test" type="Test.TypedType<OtherAssembly.OtherType>, Test" />

since OtherAssembly.OtherType is used without the assembly name and it has not been instianted before, LoadTypeByIteratingOverAllLoadedAssemblies method fails because the assembly of OtherType is not in the current domain so when Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); is executed OtherAssembly is not in assemblies collection.

Generated at Fri Jul 10 07:06:43 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.