GetClosestSetting should detect circular reference
Fixed in
EPiServer.CMS.Core 10.0.1
Created
Feb 08, 2016
Updated
Oct 27, 2016
Area
CMS Core
State
Closed, Fixed and tested
Description
This test procedure requires writing code.
- Create a content asset folder (CF).
- Create block (B).
- Set B parent till CF.
- 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.