U4-3610 - When adding another tab to a member type no members will load and result in a YSOD

Created by Shannon Deminick 20 Nov 2013, 05:03:05 Updated by Shannon Deminick 20 Nov 2013, 06:00:57

Relates to: U4-3544

The exception thrown is:

System.ArgumentException was unhandled by user code HResult=-2147024809 Message=An item with the same key has already been added. Source=mscorlib StackTrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value) at Umbraco.Core.Persistence.Factories.MemberTypeReadOnlyFactory.GetPropertyTypeGroupCollection(MemberTypeReadOnlyDto dto, MemberType memberType) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Factories\MemberTypeReadOnlyFactory.cs:line 87 at Umbraco.Core.Persistence.Factories.MemberTypeReadOnlyFactory.BuildEntity(MemberTypeReadOnlyDto dto) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Factories\MemberTypeReadOnlyFactory.cs:line 34 at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at Umbraco.Core.Persistence.Repositories.RepositoryBase2.GetAll(TId[] ids) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Repositories\RepositoryBase.cs:line 159 at Umbraco.Core.Persistence.Repositories.MemberRepository.BuildFromDtos(List1 dtos) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Repositories\MemberRepository.cs:line 475 at Umbraco.Core.Persistence.Repositories.MemberRepository.PerformGetByQuery(IQuery1 query) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Repositories\MemberRepository.cs:line 90 at Umbraco.Core.Persistence.Repositories.RepositoryBase2.GetByQuery(IQuery1 query) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Persistence\Repositories\RepositoryBase.cs:line 178 at Umbraco.Core.Services.MemberService.GetByKey(Guid id) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Core\Services\MemberService.cs:line 68 at Umbraco.Web.Editors.MemberController.GetByKey(Guid key) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4() at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken) InnerException:

Comments

Priority: Show-stopper

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: