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

Edit view missing channel options Mobile and Web

Found in

EPiServer.CMS.Core 9.9.0

Fixed in

EPiServer.CMS.Core 9.10.0

(Or a related package)

Created

May 20, 2016

Updated

Jun 09, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce
1. Open the Edit View page.
2. Click the "Toggle view settings" button (eye icon).
3. Select to view in a channel or resolution.

Expected: Shows the Automatic, Mobile and Web channel options.
Actual: Shows the Automatic channel option only.

Workaround

  [InitializableModule]
  [ModuleDependency(typeof(EPiServer.Web.InitializationModule))]
  public class DisplayChannelServiceFix : IConfigurableModule
  {
      public void ConfigureContainer(ServiceConfigurationContext context)
      {
         context.Services.Forward<IDisplayChannelService, DisplayChannelService>();
      }
 
      public void Initialize(InitializationEngine context)  {}
      public void Preload(string[] parameters) { }
      public void Uninitialize(InitializationEngine context) { }
  }