Optimizely - update 407

Release summary

New features for Optimizely Content Cloud. Bug fixes for Optimizely Content Cloud.

Released items June 21, 2022

Area ID Type Description Released
CMS-23694
  BlockInlineEdit should call latestContentVersion store with provider name

Fixed an issue where BlockInlineEdit did not call latestContentVersion store with a provider name. Provider name should be part of the request.

EPiServer.CMS.UI 11.36.9;
Jun 21, 2022
CMS-23752
  Link Validation job is throwing NullReferenceException when validating relative external link

Fixed a bug in the Validation job that was introduced in .NET 6 support where WebRequest was made obsolete and replaced with HttpRequest instead. When validating a relative external link, e.g. /a/working/relative/link, it threw a NullReferenceException.

 

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-23838
  Change registration of ContentRepository in container

Changed the registration to register DefaultContentRepository as a Singelton. Then Forward registers both IContentRepository and ContentRepoisory separately to DefaultContentRepository.

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-22434
  Handle redirection to simple URL format

Currently, CMS pages with a simple URL have two page URLs: the full page URL and the simple URL. If simple URL format is preferred (RoutingOptions.PreferredUrlFormat = PreferredUrlFormat.Simple), then generated URLs will be in simple format. However, the full page URL is still accessible.

Ideally a request to the full page URL will result in a temporary redirect (HTTP 302 Found) to the simple URL, and this redirection behavior could be configurable.

Configuration

In Startup.cs

public void ConfigureServices(IServiceCollection services)
{
    // omitted for brevity

    services.Configure<RoutingOptions>(o => o.PreferredUrlFormatRedirection = HttpRedirect.Permanent);
}

There are three possible values for HttpRedirect:

  • None
  • Temporary
  • Permanent

You also can set through appsettings.json.

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-23831
  Should be possible to control trailing slash on url from event handler

Fixed an issue so that you can control the trailing slash on a URL from the event handler.

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-22519
  ValidationService: not show the full path of PropertyName in error messages for nested properties.

Fixed an issue where ValidationService did not show the full path of the PropertyName in error messages for nested properties. (For example, it showed ButtonText when is should have showed Button.ButtonText.)

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-18509
  Clear Thumbnail Properties scheduled job update the "Saved" date of many deleted upload file

Fixed an issue where Clear Thumbnail and Automatic Emptying of Trash did not delete data from the trash.

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022
CMS-23316
  ScheduleJob synchronization: InitialTime was converted to an UTC time

Fixed an issue where parsing the InitialTime property to a TimeSpan did not assume UTC as timezone but instead converted it to UTC after parsing. 

EPiServer.CMS.Core 12.7.0;
Jun 21, 2022

Related topics

Last updated: Jun 21, 2022