ContentArea Items are empty after creating writable clone

Found in

EPiServer.CMS.Core 10.5.0

Fixed in

EPiServer.CMS.Core 10.6.0


Mar 24, 2017


Apr 11, 2017


CMS Core


Closed, Fixed and tested


The "Items" property on the class ContentArea will be empty after creating a writable clone even if the original content area contained items. The issue does not affect the Fragments property. Note that this also applies to content areas created from an initial unparsed string value as long as the content area is writable.

Note: This does not affect edit mode or when updating pages programatically, it affects code that first clones a page (CreateWritableClone) and then programmatically expects data available in ContentArea.Items.