Try our conversational search powered by Generative AI!

New extension method IContentFactory.CreateContent does not behave as instance method

Found in

EPiServer.CMS.Core 9.9.0

Fixed in

EPiServer.CMS.Core 9.9.1

(Or a related package)

Created

May 10, 2016

Updated

May 16, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Episerver introduced a new interface, IContentFactory, that should be used instead of previous ContentFactory (which is now the implementation of the interface). However, the extension method IContentFactory.CreateContent(contentType) was created to simplify migration, since the new interface does not behave the same as the old instance method.