Try our conversational search powered by Generative AI!

Singleton DisplayOption instances should be read-only

Fixed in

EPiServer.CMS.Core 10.8.0

(Or a related package)

Created

Mar 31, 2017

Updated

Apr 21, 2017

Area

CMS Core

State

Closed, Fixed and tested


Description

When enumerating display options, it is possible to change the individual properties, since they are stored as singletons but are not read-only. The site might behave very strangely if there is code in the templates that changes display options, since the state is shared among all requests/threads.