Try our conversational search powered by Generative AI!

Autosave fails when OptimizeForDelivery is enabled and there is only a primary host configured

Fixed in

EPiServer.CMS.UI 12.21.0

(Or a related package)

Created

Apr 13, 2023

Updated

Feb 07, 2024

Area

CMS UI

State

Closed, Fixed and tested


Description

Fixed an issue where Autosave failed with a generic error message "Offline, can´t save." When the site was configured with ExternalApplicationOptions.OptimizeForDelivery set to true and with only a Primary host configured for the website in Admin > Config > Manage Websites.

As a workaround, you could disable ExternalApplicationOptions.OptimizeForDelivery or add a wildcard {*} host and an Edit host for the site also.