Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

epi/shell/_Command exposes inappropriate methods publicly

Fixed in

EPiServer.CMS.UI 10.0.2

(Or a related package)

Created

Aug 26, 2015

Updated

Oct 24, 2016

Area

CMS UI

State

Closed, Fixed and tested


Description

The methods watchModelChange and unwatchModelChange in epi/shell/_Command should not be public.

Breaking change
Calling watchModelChange and unwatchModelChange on _Command.js has been deprecated

Commands should always be allowed to update their internal state based on the current model.