November Happy Hour will be moved to Thursday December 5th.

GetClosestSetting should detect circular reference

Fixed in

EPiServer.CMS.Core 10.0.1

(Or a related package)

Created

Feb 08, 2016

Updated

Oct 27, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

This test procedure requires writing code.

  1. Create a content asset folder (CF).
  2. Create block (B).
  3. Set B parent till CF.
  4. Set ContentOwnerID till B.

Expected: Logs and throw exception or break from infinite loops.
Actual: Stack overflow exception.

Breaking changes

  • ContentLanguageSettingsHandler no longer contains implementation code, use interfaces IContentLanguageSettingsHandler or IContentLanguageSettingsResolver instead.
  • ContentLanguageSettingsHandler.Instance now returns the interface.
  • GetClosestSetting has been removed; use IContentLanguageSettingsHandler.Get.