IAvailableModelSettingsRepository leaks internal ContentTypeAvailableModelSetting

Fixed in

EPiServer.CMS.Core 10.0.1

Created

Jun 08, 2016

Updated

Oct 27, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

IAvailableModelSettingsRepository leaks internal ContentTypeAvailableModelSetting.

Why is IAvailableModelSettingsRepository returning both IContentTypeAvailableModelSetting and ContentTypeAvailableModelSetting? The class has public fields etc. and looks like it needs refactoring.

Breaking changes:
*Changed return values from IAvailableModelSettingsRepository from ContentTypeAvailableModelSetting to IContentTypeAvailableModelSetting

*Changed IContentTypeAvailableModelSetting from having get and set properties of Type[] to only get properties of IEnumerable<Type>