Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Controller can't find .cshtml views in a zipped Shell module using Razor viewEngine

Fixed in

EPiServer.CMS.UI 11.4.1

Created

Feb 22, 2018

Updated

Mar 23, 2018

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Set up a module with viewEngine = "Razor".
  2. Add a controller that returns a normal view.
  3. Package the view in a normal Shell zip module.
  4. Add the configuration for that module to the web.config file.
  5. Access the controller.

Expected: The controller can find the view.

Actual: It says it can't find the view.

Notes:
It works if the view is not a Shell module, but accessed via VPP instead.
It works if the view is not zipped.