In onpage edit mode, blocks don't re-render in content area

Found in

EPiServer.CMS.Core 11.11.1

Fixed in

EPiServer.CMS.UI 11.19.1

Created

Mar 01, 2019

Updated

Mar 29, 2019

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to Reproduce

1. Make a new Alloy project.
2. Remove the PreviewController.
3. Remove cshtml references to the PreviewController.
4. Add a UIDescriptor for ContactBlock and set DefaultView to AllPropertiesView
[UIDescriptorRegistration]
public class ContactBlockUIDescriptor : UIDescriptor<ContactBlock>
{
public ContactBlockUIDescriptor()
: base()

Unknown macro: { DefaultView = CmsViewNames.AllPropertiesView; }

}
5. Start the site and navigate to the startpage in CMS-edit mode.
6. Add a ContactBlock to the "Large content area" and fill out the block's properties.
7. Go back to the startpage and refresh it.
8. Highlight the new ContentBlock in the contentarea in on-page-edit, press the context-menu for the block. and select Edit.
9. Change the properties and publish.
10. Press the little "<- back" link to go back to the start page.

Expected:
The block is updated.

Actual:
When looking at the block. it still has the same text as before editing. But if we refresh the page, it is updated.

Customer Impact Statement

We are having problems with onpage editing and blocks on our 2 solutions. If we edit a block added in a page in a content area and press the back-link from the block view, the block is not rerendered on the page we were working on.